Ejemplo n.º 1
0
 /// <summary>
 /// Determines whether the polynomal is equal to the one represent by its roots.
 /// </summary>
 /// <param name="polynomial"></param>
 /// <returns>bool</returns>
 public bool Equals(PolynomialRoots polynomial)
 {
     return(this.Equals(polynomial.GetExplicitPolynomial()));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PolynomicEquation"/> class.
 /// </summary>
 /// <param name="polynomial"></param>
 public PolynomicEquation(PolynomialRoots polynomial)
     : this(polynomial.GetExplicitPolynomial())
 {
 }