Exemple #1
0
 public Scale(double scale, dc_Func input) : base(input)
 {
     _scale = scale;
 }
Exemple #2
0
 public Affine2(double scale, double shift, dc_Func input) : base(input)
 {
     _shift = shift; _scale = scale;
 }
Exemple #3
0
 public Square(dc_Func input) : base(input)
 {
 }
Exemple #4
0
 public Abs(dc_Func input) : base(input)
 {
 }
Exemple #5
0
 public void AddEQ(dc_Func f, dc_Func g)
 {
     _equalities.Add(new dc_FGPair(f, g));
 }
Exemple #6
0
 public Diff(dc_Func input1, dc_Func input2) : base(input1, input2)
 {
 }
Exemple #7
0
 public void AddLE(dc_Func f, dc_Func g)
 {
     _inequalities.Add(new dc_FGPair(f, g));
 }
Exemple #8
0
 public void AddGE(dc_Func f, dc_Func g)
 {
     AddLE(g, f);
 }
Exemple #9
0
 public dc_Func Fn_Abs(dc_Func input)
 {
     return(new dc_Ops.Abs(input));
 }
Exemple #10
0
 public void SetObjective(dc_Func f, dc_Func g)
 {
     _objective = new dc_FGPair(f, g);
 }
Exemple #11
0
 public dc_Func Fn_Square(dc_Func input)
 {
     return(new dc_Ops.Square(input));
 }
Exemple #12
0
 public dc_Func Fn_Diff(dc_Func input1, dc_Func input2)
 {
     return(new dc_Ops.Diff(input1, input2));
 }
Exemple #13
0
 public dc_Func Fn_Affine(double scale, double shift, dc_Func input)
 {
     return(new dc_Ops.Affine2(scale, shift, input));
 }
Exemple #14
0
 public dc_Func Fn_Negative(dc_Func input)
 {
     return(new dc_Ops.Scale(-1, input));
 }
Exemple #15
0
 public dc_Func Fn_Scale(double scale, dc_Func input)
 {
     return(new dc_Ops.Scale(scale, input));
 }