lis_vector_axpyz(3f)
β¨ NAME β¨
lis_vector_axpyz β bestie, it calculates the sum of the vectors π
This one lives in the Lis Library Functions manual, section 3f, and it's giving very much "one job and it does it flawlessly."
π SYNOPSIS π
subroutine lis_vector_axpyz(LIS_SCALAR alpha, LIS_VECTOR x, LIS_VECTOR
y, LIS_VECTOR z, LIS_INTEGER ierr);
Like. That's it. That's the whole call. Four vectors-ish things and an error code, slay π«Ά
πΈ DESCRIPTION πΈ
Okay so here's the tea: this routine calculates the sum of the vectors, and the sum it calculates is literally
z = alpha * x + y
That's the whole vibe. You hand it a scalar, you hand it two vectors, it does the math and drops the answer into z. No cap, no side quests, no surprises. Iconic behavior honestly β¨
π INPUT π
alphaβ the scalar value, aka the lil number doing the multiplying πΈx,yβ the vectors, the main characters of this whole operation π
π¦ OUTPUT π¦
zβalpha * x + yπ
Not me emphasizing this again but yes,zcomes out of here holding exactlyalpha * x + y. That's the entire deliverable. Periodt.
π SEE ALSO π
Okay bestie that's the whole page, go forth and axpyz responsibly π§π
This lil love letter to linear algebra comes from the Lis Library Functions manual, dated 28 Aug 2014 β mwah, obsessed, no notes π β¨
π¦ 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