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+44e7797405725ef3cf24b3ff0eba94ce6c649601
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