Compares matrix a and matrix b. Takes the norm of matrix b times accuracy as
threshold basis for comparing the elements.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static bool IsEqual(
IROMatrix<double> a,
IROMatrix<double> b,
double accuracy
)
Parameters
- a IROMatrixDouble
- The first matrix.
- b IROMatrixDouble
- The second matrix. Basis for calculation of threshold.
- accuracy Double
- The accuracy.
Return Value
Boolean if both matrices are equal within the specified relative accuracy; otherwise,
.
See Also