lis_solver_get_residualnorm man page

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/

Info

6 Sep 2012 Man Page Lis Library Functions