Polynomial.Equals Method
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Equals( | Overridden. Returns whether this instance is equal to a specified object. |
Equals( | Overridden. Returns whether this instance is equal to a specified polynomial. |
Equals( | Returns whether two Polynomial objects represent the same value. |
Equals(Object)
Overridden. Returns whether this
instance is equal to a specified object.
public override bool Equals(
Object? obj
)
Parameters
- obj Object
- An object to compare with this instance.
Return Value
Booleantrue if obj is an instance of Polynomial and equals the value of this instance; otherwise, false.
Equals(Polynomial)
Overridden. Returns whether this
instance is equal to a specified polynomial.
public bool Equals(
Polynomial? other
)
Parameters
- other Polynomial
- A polynomial to compare with this instance.
Return Value
Booleantrue if other equals the value of this instance; otherwise, false.
Implements
IEquatable<T>.Equals(T)Equals(Polynomial, Polynomial)
Returns whether two Polynomial objects
represent the same value.
public static bool Equals(
Polynomial polynomial1,
Polynomial polynomial2
)
Parameters
- polynomial1 Polynomial
- A Polynomial.
- polynomial2 Polynomial
- A Polynomial.
Return Value
Booleantrue if polynomial1 and polynomial2 represent the same polynomial; otherwise, false.