lis_solver_get_residualnorm(3) - Linux man page

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/