Exemplo n.º 1
0
 public Complex Evaluate()
 {
     if (Variables.Any())
     {
         return(Complex.Multiply(CoEfficient, Variables.Select(indt => indt.Evaluate()).Aggregate(Complex.Multiply)));
     }
     else
     {
         return(CoEfficient.Clone());;
     }
 }
Exemplo n.º 2
0
 public Term Clone()
 {
     return(new Term(CoEfficient.Clone(), CloneHelper <Indeterminate> .CloneCollection(Variables).ToArray()));
 }