lis_vector_xpay(3f)

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

✨ lis_vector_xpay(3f) ✨

okay bestie, welcome to the Lis Library Functions manual, this one's about lis_vector_xpay and it is lowkey iconic 🫢


🌸 NAME 🌸

lis_vector_xpay β€” calculate the sum of the vectors πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

subroutine lis_vector_xpay(LIS_SCALAR alpha, LIS_VECTOR x, LIS_VECTOR y,
LIS_INTEGER ierr);

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it does is, it calculates the sum of the vectors, and the formula is literally:

y = x + alpha * y

that's it, that's the whole vibe. sum of vectors, no cap ✨


🌈 INPUT 🌈

  • alpha β€” the scalar value πŸ’…
  • x, y β€” the vectors πŸ“

πŸ‘‘ OUTPUT πŸ‘‘

  • y β€” x + alpha * y, and heads up bestie, vector y is overwritten 😭 like it gets fully replaced, so if you needed the old y… it's gone fr fr πŸ’€

πŸ”₯ SEE ALSO πŸ”₯


just so you know: y is overwritten, so don't come for me when your original y is MIA πŸ™ˆ

mwah πŸ’‹ this page came from the Lis Library Functions manual, dated 6 Sep 2012, and that's the whole thing β€” ily, go write some linear algebra, you ate πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from