public Scale(double scale, dc_Func input) : base(input) { _scale = scale; }
public Affine2(double scale, double shift, dc_Func input) : base(input) { _shift = shift; _scale = scale; }
public Square(dc_Func input) : base(input) { }
public Abs(dc_Func input) : base(input) { }
public void AddEQ(dc_Func f, dc_Func g) { _equalities.Add(new dc_FGPair(f, g)); }
public Diff(dc_Func input1, dc_Func input2) : base(input1, input2) { }
public void AddLE(dc_Func f, dc_Func g) { _inequalities.Add(new dc_FGPair(f, g)); }
public void AddGE(dc_Func f, dc_Func g) { AddLE(g, f); }
public dc_Func Fn_Abs(dc_Func input) { return(new dc_Ops.Abs(input)); }
public void SetObjective(dc_Func f, dc_Func g) { _objective = new dc_FGPair(f, g); }
public dc_Func Fn_Square(dc_Func input) { return(new dc_Ops.Square(input)); }
public dc_Func Fn_Diff(dc_Func input1, dc_Func input2) { return(new dc_Ops.Diff(input1, input2)); }
public dc_Func Fn_Affine(double scale, double shift, dc_Func input) { return(new dc_Ops.Affine2(scale, shift, input)); }
public dc_Func Fn_Negative(dc_Func input) { return(new dc_Ops.Scale(-1, input)); }
public dc_Func Fn_Scale(double scale, dc_Func input) { return(new dc_Ops.Scale(scale, input)); }