Polynomial.Equals Method

Definition

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

Overload List

Equals(Object) Overridden. Returns whether this instance is equal to a specified object.
Equals(Polynomial) Overridden. Returns whether this instance is equal to a specified polynomial.
Equals(Polynomial, Polynomial) Returns whether two Polynomial 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 and equals the value of this instance; otherwise, false.

Equals(Polynomial)

Overridden. Returns whether this instance is equal to a specified polynomial.
C#
public bool Equals(
	Polynomial? other
)

Parameters

other  Polynomial
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, Polynomial)

Returns whether two Polynomial objects represent the same value.
C#
public static bool Equals(
	Polynomial polynomial1,
	Polynomial polynomial2
)

Parameters

polynomial1  Polynomial
A Polynomial.
polynomial2  Polynomial
A Polynomial.

Return Value

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

See Also