lis_array_solve(3f)
lis_array_solve(3f) π
okay bestie, so this is a page from the Lis Library Functions manual β yes, that Lis, the library that does the math so you don't have to π . It's a Fortran-callable joint, and it's about to solve your linear equation with the direct method. no cap. sit down, grab a boba π, and let's get into it.
β¨ NAME β¨
lis_array_solve β solve the linear equation with the direct method π
literally what it says on the tin. it solves. directly. iconic behavior.
π¦ SYNOPSIS π¦
subroutine lis_array_solve(LIS_INTEGER n, LIS_SCALAR a(), LIS_SCALAR
b(), LIS_SCALAR x(), LIS_SCALAR w(), LIS_INTEGER ierr);
that's the whole vibe right there β six things go in, the universe does its thing, and x comes back blessed.
πΈ DESCRIPTION πΈ
Solve the linear equation Ax=b with the specified solver. π§
that's the mission. that's the whole plot. you hand it a matrix A and a right hand side b, and it goes and finds you an x like the main character it is. π
π INPUT π
the stuff you gotta bring to the function. pack your bags, bestie π
nβ The size of the matrix π«Ά like, it's an n by n situation. square. balanced. symmetric-ish energy (not literally, don't come for me).aβ The array that stores coefficient matrixAof sizen * nβ¨ the big one. the star of the show. every coefficient, all dressed up in one array.bβ The array that stores right hand side vectorbof sizenπ the "answer before the answer," yk? the thing on the other side of the equals sign.wβ The work arraywof sizenπ§Ή the work array!! it's the backstage crew of this whole operation. it doesn't get credit but nothing runs without it. give it its flowers π
π OUTPUT π
xβ The array that stores solutionxπ THERE SHE IS. the solution. the moment we've all been waiting for. the finale. the girlboss of the whole page. π
side note, bestie: ierr shows up in the synopsis but doesn't get its own lil description in the input or output lists, so don't come at me β I'm just telling you what the page tells you. π
π SEE ALSO π
lis(3)β the parent page, the origin story, the mothership πΈ- http://www.ssisc.org/lis/ β go touch grass (digitally) at the source π±
and that's the whole page, bestie!! every option, every array, every size β nothing dropped, nothing skipped, periodt. π
this lil beauty comes from the Lis Library Functions manual, dated 6 Sep 2012, and it lives on the lis_array_solve(3f) man page. slay, stay solving, and may all your As be well-conditioned π¦β¨π
π¦ 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