Matrix<T>.Equals Method

Definition

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

Overload List

Equals(Matrix<T>) Determines whether the specified Matrix<T> is equal to the current Matrix<T>.
Equals(Object) Determines whether the specified Object is equal to the current Matrix<T>.
Equals(Object, IEqualityComparer) Returns whether an object is structurally equal to this instance.

Equals(Matrix<T>)

Determines whether the specified Matrix<T> is equal to the current Matrix<T>.
C#
public virtual bool Equals(
	Matrix<T>? other
)

Parameters

other  Matrix<T>
The matrix to compare this Matrix<T> to.

Return Value

Boolean
true if the specified matrix is identical to this instance; otherwise false.

Implements

IEquatable<T>.Equals(T)

Equals(Object)

Determines whether the specified Object is equal to the current Matrix<T>.
C#
public override bool Equals(
	Object? obj
)

Parameters

obj  Object
The object to compare this Matrix<T> to.

Return Value

Boolean
true if the specified object is identical to this instance; otherwise false.

Equals(Object, IEqualityComparer)

Returns whether an object is structurally equal to this instance.
C#
public bool Equals(
	Object? other,
	IEqualityComparer comparer
)

Parameters

other  Object
The object to compare to.
comparer  IEqualityComparer
The IEqualityComparer to use in the comparison.

Return Value

Boolean
true if the two objects are equal; otherwise false.

Implements

IStructuralEquatable.Equals(Object, IEqualityComparer)

See Also