TSparseMtx::ResidualNorm Method

double ResidualNorm(TVec *B, TVec *X, bool Transp = false);

The residual norm of the solution of the system of linear equations A*X=B.

#NameTypeDescription
1BTVec *Defines B vector in the A*X=B equation.
2XTVec *Defines X vector in the A*X=B equation.
3Transp = falseboolIf 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