Click or drag to resize

PolynomialEquals Method

Tests for equality of this polynomial and another polynomial. Two polynomials are equal if their coefficient vectors have the same dimensions and all values are equal.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public override bool Equals(
	Object o
)

Parameters

o  Object
Another polynomial.

Return Value

Boolean
True if the coefficient vectors are of the same dimension and contain the same values; otherwise, false. Returns false if the passed object is null, or is not a Polynomial.
Remarks
The comparison of the values is done using operator== for doubles. Therefore, the values of the coefficient vectors must be exactly equal for this method to return true.
See Also