lis_solver...esidualnorm(3)
β¨ lis_solver_get_residualnorm β¨
okay bestie, welcome to the Lis Library Functions corner of the manual π this one's a lil function called lis_solver_get_residualnorm, and it's here to do one very specific, very slay thing.
π 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 πΈ
so basically, this function takes your solution x and computes the relative residual norm, which is literally this:
||b - Ax||_2/||b||_2
like. that's the whole vibe. you solved the thing, now you wanna know how good the solve actually was, and this is the number that tells you π₯
π INPUT π
solverβ the solver, bestie. that's the one you hand over.
π«Ά OUTPUT π«Ά
residualβ the relative residual norm||b - Ax||_2/||b||_2β¨
π EXIT STATUS π
these are the exit values you might get back:
0β the process is normally terminated π₯³ everything ate, no crumbs.- unspecified β an error occurred π it's giving chaos, not in a fun way.
π SEE ALSO π
fr fr, that's the whole page. no notes, no cap π
and that's a wrap, my love π this was brought to you by the Man Page of 6 Sep 2012, from the Lis Library Functions lineup. stay iconic, stay solving, mwah π«Άπβ¨
π¦ where this page comes from
- fedora 43: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 43: lis-doc 2.1.11-1.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 44: lis-doc 2.1.11-1.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: lis 2.1.10
- nixpkgs unstable: lis 2.1.16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms