Click or drag to resize
DigitalRuneMatrix22DAreNumericallyEqual Method (Matrix22D, Matrix22D, Double)
Determines whether two matrices are equal (regarding a specific tolerance).

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static bool AreNumericallyEqual(
	Matrix22D matrix1,
	Matrix22D matrix2,
	double epsilon
)

Parameters

matrix1
Type: DigitalRune.Mathematics.AlgebraMatrix22D
The first matrix.
matrix2
Type: DigitalRune.Mathematics.AlgebraMatrix22D
The second matrix.
epsilon
Type: SystemDouble
The tolerance value.

Return Value

Type: Boolean
if the matrices are equal (within the tolerance epsilon); otherwise, .
Remarks
The two matrices are compared component-wise. If the differences of the components are less than epsilon the matrices are considered as being equal.
See Also