Click or drag to resize

DVectorEquals(DVector, DVector, Double) Method

Compares two vectors for equality within a tolerance.

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+77a1ed58155f905ef6d88f42ae024582c7e1b4c3
Syntax
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