DVectorEquals(DVector, DVector, Double) Method

Compares two vectors for equality within a tolerance.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
C#
public static bool Equals(
	DVector v1,
	DVector v2,
	double epsilon
)

Parameters

v1  DVector
First vector to compare.
v2  DVector
Second vector to compare.
epsilon  Double
The tolerance.

Return Value

Boolean
True if each pair of components is inside the tolerance range.

See Also