lis_array_solve(3f)

πŸ“¦ version 2.1.11, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

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 matrix A of size n * 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 vector b of size n 🌈 the "answer before the answer," yk? the thing on the other side of the equals sign.
  • w β€” The work array w of size n 🧹 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 solution x πŸ’– 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