Beispiel #1
0
 public override void Eval()
 {
     Value = 0;
     for (var i = 0; i < Inputs.Length; ++i)
     {
         Value += Inputs.Element(i).Value;
     }
 }
Beispiel #2
0
        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);
        }