| Matrix22FAreNumericallyEqual Method (Matrix22F, Matrix22F) |
Determines whether two matrices are equal (regarding the tolerance
EpsilonF).
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static bool AreNumericallyEqual(
Matrix22F matrix1,
Matrix22F matrix2
)
Public Shared Function AreNumericallyEqual (
matrix1 As Matrix22F,
matrix2 As Matrix22F
) As Boolean
public:
static bool AreNumericallyEqual(
Matrix22F matrix1,
Matrix22F matrix2
)
static member AreNumericallyEqual :
matrix1 : Matrix22F *
matrix2 : Matrix22F -> bool
Parameters
- matrix1
- Type: DigitalRune.Mathematics.AlgebraMatrix22F
The first matrix. - matrix2
- Type: DigitalRune.Mathematics.AlgebraMatrix22F
The second matrix.
Return Value
Type:
Boolean if the matrices are equal (within the tolerance
EpsilonF); otherwise,
.
Remarks
The two matrices are compared component-wise. If the differences of the components are less
than
EpsilonF the matrices are considered as being equal.
See Also