lis_esolve...sidualnorms(3)
π lis_esolver_get_residualnorms β bestie edition π
okay so this is a page from the Lis Library Functions manual (that's the lis(3) manual, yes, and yes she's iconic) and we're about to learn how to get your residual norms back out of the eigensolver. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
lis_esolver_get_residualnorms β get the relative residual norm for all the eigenpairs from the eigensolver
like. ALL of them. not one. all. we love a completionist queen π
β¨ SYNOPSIS β¨
#include "lis.h"
LIS_INT lis_esolver_get_residualnorms(LIS_ESOLVER esolver, LIS_VECTOR
v);
no cap, that's the whole signature, copy it exactly, don't be cute with it π
β¨ DESCRIPTION β¨
okay so here's the tea: this function gets the relative residual norms for every single eigenpair your eigensolver produced. the formula, bestie, is literally this:
||lx - Ax||_2/||lx||_2
that's it. that's the math. ||lx - Ax||_2/||lx||_2, exactly like that, no edits. it's giving "how far off are we from an actual eigenpair, relative to the size of lx" π
β¨ INPUT β¨
esolverβ the eigensolver. your main character. the one doing the actual work here π
β¨ OUTPUT β¨
vβ the vector that stores the residual norms π she's holding all of them for you, so be nice to her.
β¨ EXIT STATUS β¨
the following exit values are returned, and we do check them, periodt:
0β the process is normally terminated β slay, everything's fine, we love that for usunspecifiedβ an error occurred π that's it, that's the whole description, no further info, and honestly? relatable.
fr fr, unspecified is not a vibe, it's a warning. check your stuff.
β¨ SEE ALSO β¨
go, read, explore, that link is your bestie now π¦
okay so that's the whole page!! tysm for reading, you ate that π
sign-off time: this was the Lis Library Functions manual page, and the footer says it's from 28 Aug 2014 β a vintage queen, honestly, and she still serves πβ¨πΈ
Man Page Β· 28 Aug 2014 Β· lis_esolve...sidualnorms(3) π
π¦ 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