| Matrix44FAreNumericallyEqual Method (Matrix44F, Matrix44F, Single) |
Determines whether two matrices are equal (regarding a specific tolerance).
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static bool AreNumericallyEqual(
Matrix44F matrix1,
Matrix44F matrix2,
float epsilon
)
Public Shared Function AreNumericallyEqual (
matrix1 As Matrix44F,
matrix2 As Matrix44F,
epsilon As Single
) As Boolean
public:
static bool AreNumericallyEqual(
Matrix44F matrix1,
Matrix44F matrix2,
float epsilon
)
static member AreNumericallyEqual :
matrix1 : Matrix44F *
matrix2 : Matrix44F *
epsilon : float32 -> bool
Parameters
- matrix1
- Type: DigitalRune.Mathematics.AlgebraMatrix44F
The first matrix. - matrix2
- Type: DigitalRune.Mathematics.AlgebraMatrix44F
The second matrix. - epsilon
- Type: SystemSingle
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