示例#1
0
 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()));
        }