lis_vector_axpy(3f)

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

✨ lis_vector_axpy ✨

okay bestie so this is a page from the Lis Library Functions section of the manual β€” it's lis_vector_axpy(3f), and it's literally just here to tell you how to add a scaled vector onto another vector. no cap, it's a tiny little icon πŸ’…


🌸 NAME 🌸

lis_vector_axpy β€” calculate the sum of the vectors 🫢


πŸŽ€ SYNOPSIS πŸŽ€

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

that's it. that's the whole call. so cute, so simple πŸ’–


πŸ’œ DESCRIPTION πŸ’œ

Calculate the sum of the vectors, and the exact vibe is:

y = alpha * x + y

so like, you take x, you scale it by alpha, and you dump the result on top of y. it's giving classic axpy energy, iykyk πŸ”₯


πŸ¦‹ INPUT πŸ¦‹

  • alpha β€” The scalar value. that's the number you're multiplying x by, bestie. yes, it's a scalar, not a vector, don't panic ✨
  • x, y β€” The vectors. the two vectors doing the whole little math dance together πŸ’ƒ

🌈 OUTPUT 🌈

  • y β€” alpha * x + y (vector y is overwritten)
not me reminding you that y gets overwritten β€” like, the original y you passed in? gone. replaced. it's the new y now. if you needed the old one, you should've kept a copy, bestie 😭

πŸ’€ SEE ALSO πŸ’€


and that's the whole page!! πŸŽ€πŸ’–βœ¨ source/version is the Lis Library Functions manual, dated 6 Sep 2012 β€” so like, this page has been serving axpy realness since 2012 and honestly? iconic. periodt πŸ‘‘πŸ’…

πŸ“¦ where this page comes from