Vector<T>.Equals Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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.

Vector<T>.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.

Vector<T>.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)

Vector<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