lis_solve_kernel(3)
π lis_solve_kernel(3) π
okay bestie, come SIT. this is a page from the Lis Library Functions manual, and it's about lis_solve_kernel β the girl who solves your linear equation for you with a preconditioner you already set up. she's lowkey the moment, fr fr. πΈ
β¨ NAME β¨
lis_solve_kernel β solve the linear equation with the predefined preconditioner π«Ά
β¨ SYNOPSIS β¨
#include "lis.h"
LIS_INT lis_solve_kernel(LIS_SOLVER solver);
like, that's it. one function, one arg. she's serving minimalist. π
β¨ DESCRIPTION β¨
so the whole vibe here: she solves the linear equation using the solver you picked and the preconditioner that was already defined ahead of time. no extra setup at call time, no drama, she just goes. π₯
β¨ INPUT β¨
here's everything going in, bestie, don't lose track:
Aβ the coefficient matrix πbβ the right hand side vector πxβ the initial vector β¨solverβ the solver πpreconβ the preconditioner π
β¨ OUTPUT β¨
and here's what comes back out:
xβ the solution π¦solverβ the number of iterations, the execution time, etc. β
not me casually returning the iteration count AND the timing, she's so considerate π
β¨ EXIT STATUS β¨
these are the exit values, keep them in your notes:
0β the process is normally terminated πunspecifiedβ an error occurred π
yes, "unspecified" is literally the value. we don't know what happened, and honestly? neither does she. π
β¨ NOTE β¨
want an example? go peek at lis-($VERSION)/src/esolver/lis esolver ii.c, which computes the smallest eigenvalue by calling lis_solve_kernel multiple times. that's the girlboss reference implementation, iykyk. π
β¨ SEE ALSO β¨
lis(3)πΈhttp://www.ssisc.org/lis/π
and that's the whole page, bestie β no cap, every flag and every line stayed exactly where it was supposed to be. mwah. π
source & version: Lis Library Functions Β· date: 6 Sep 2012 π bye ily π«Ά
π¦ 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