Ejemplo n.º 1
0
 public BasisFunction(string var, double[] val, bool isOperator, NonlinOp op = NonlinOp.None)
 {
     this.Var        = var;
     this.Val        = val;
     this.IsOperator = isOperator;
     this.Operator   = op;
 }
Ejemplo n.º 2
0
 public static string ToString(NonlinOp op, string val) => op != NonlinOp.None ? op.ToString() + "(" + val + ")" : val;