lis_vector_axpyz(3f)

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

✨ 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, z comes out of here holding exactly alpha * 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