lis_solver_get_residualnorm(3)

NAME
lis_solver_get_residualnorm - 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
lis(3)

http://www.ssisc.org/lis/