コード例 #1
0
 public override object Evaluate()
 {
     return((Complex)(SubExpression.EvaluateAsComplexVector().Count - 1));
 }
コード例 #2
0
        public override object Evaluate()
        {
            IList <Complex> roots = SubExpression.EvaluateAsComplexVector();

            return(new CMatrix(CPolynomial.FromRoots(roots).ToArray()));
        }