Polynomial<T>.Equals Method

Definition

Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.0

Overload List

Equals(Object) Overridden. Returns whether this instance is equal to a specified object.
Equals(Polynomial<T>) Overridden. Returns whether this instance is equal to a specified polynomial.
Equals(Polynomial<T>, Polynomial<T>) Returns whether two Polynomial<T> objects represent the same value.

Equals(Object)

Overridden. Returns whether this instance is equal to a specified object.
C#
public override bool Equals(
	Object? obj
)

Parameters

obj  Object
An object to compare with this instance.

Return Value

Boolean
true 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.
C#
public bool Equals(
	Polynomial<T>? other
)

Parameters

other  Polynomial<T>
A polynomial to compare with this instance.

Return Value

Boolean
true 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.
C#
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

Boolean
true if polynomial1 and polynomial2 represent the same polynomial; otherwise, false.

See Also