double ResidualNorm(TVec *B, TVec *X, bool Transp = false);
The residual norm of the solution of the system of linear equations A*X=B.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | B | TVec * | Defines B vector in the A*X=B equation. |
| 2 | X | TVec * | Defines X vector in the A*X=B equation. |
| 3 | Transp = false | bool | If true, treat A (calling matrix) as transposed matrix. |
Returns: the residual norm of the solution of the system of linear equations A*X=B, where A is calling sparse matrix.
Declared in Dew::Math::TSparseMtx · Dew.Math/sparse.h · Cross-compiler