public override object Evaluate() { return((Complex)(SubExpression.EvaluateAsComplexVector().Count - 1)); }
public override object Evaluate() { IList <Complex> roots = SubExpression.EvaluateAsComplexVector(); return(new CMatrix(CPolynomial.FromRoots(roots).ToArray())); }