lis_solver_get_residualnorm - Man Page
calculate the relative residual norm from the solution
Synopsis
#include "lis.h"
LIS_INT lis_solver_get_residualnorm(LIS_SOLVER solver, LIS_INT *residual);
Description
Calculate the relative residual norm ||b - Ax||_2/||b||_2 from the solution x.
Input
- solver
The solver
Output
- residual
The relative residual norm ||b - Ax||_2/||b||_2
Exit Status
The following exit values are returned:
- 0
The process is normally terminated
- unspecified
An error occurred
See Also
Info
6 Sep 2012 Man Page Lis Library Functions