Vector<T>.Equals Method

Definition

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

Overload List

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

Equals(Object)

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

Parameters

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

Return Value

Boolean
true if the specified object is identical to this Vector<T>; otherwise false.

Equals(Vector<T>)

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

Parameters

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

Return Value

Boolean
true if the specified matrix is identical to this Vector<T>; otherwise false.

Implements

IEquatable<T>.Equals(T)

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