Tests for inequality of two polynomials. Two polynomials are unequal
if their coefficient vectors have different dimensions or their values are not
all equal.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static bool operator !=( Polynomial p, Polynomial q ) |
| Visual Basic (Declaration) |
|---|
Public Shared Operator <> ( _ p As Polynomial, _ q As Polynomial _ ) As Boolean |
| Visual C++ |
|---|
public: static bool operator !=( Polynomial^ p, Polynomial^ q ) |
Parameters
- p
- Type: CenterSpace.NMath.Core..::.Polynomial
The left-hand polynomial.
- q
- Type: CenterSpace.NMath.Core..::.Polynomial
The right-hand polynomial.
Return Value
True if the coefficient vector of the polynomials are of different dimensions, contain different values, or are not both null; otherwise, false.
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 false.