public override void Eval() { Value = 0; for (var i = 0; i < Inputs.Length; ++i) { Value += Inputs.Element(i).Value; } }
private double[] GetArg() { var arg = new double[Inputs.Length]; for (var i = 0; i < arg.Length; ++i) { arg[i] = Inputs.Element(i).Value; } return(arg); }