1lis_solver_get_residualnorm(3)Lis Library Functionlsis_solver_get_residualnorm(3)
2
3
4
6 lis_solver_get_residualnorm - calculate the relative residual norm from
7 the solution
8
9
11 #include "lis.h"
12
13 LIS_INT lis_solver_get_residualnorm(LIS_SOLVER solver, LIS_INT *resid‐
14 ual);
15
16
18 Calculate the relative residual norm ||b - Ax||_2/||b||_2 from the
19 solution x.
20
21
23 solver The solver
24
25
27 residual
28 The relative residual norm ||b - Ax||_2/||b||_2
29
30
32 The following exit values are returned:
33
34 0 The process is normally terminated
35
36 unspecified
37 An error occurred
38
39
41 lis(3)
42
43 http://www.ssisc.org/lis/
44
45
46
47
48Man Page 6 Sep 2012 lis_solver_get_residualnorm(3)