Polynomial<T>.Equals Method
Definition
Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
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<T> 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<T> and equals the value of this instance; otherwise, false.
Equals(Polynomial<T>)
Overridden. Returns whether this
instance is equal to a specified polynomial.
public bool Equals(
Polynomial<T>? other
)
Parameters
- other Polynomial<T>
- 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<T>, Polynomial<T>)
Returns whether two Polynomial<T> objects
represent the same value.
public static bool Equals(
Polynomial<T> polynomial1,
Polynomial<T> polynomial2
)
Parameters
- polynomial1 Polynomial<T>
- A Polynomial<T>.
- polynomial2 Polynomial<T>
- A Polynomial<T>.
Return Value
Booleantrue if polynomial1 and polynomial2 represent the same polynomial; otherwise, false.