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