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