lis_array_dot(3f)

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

πŸ’– lis_array_dot(3f) β€” or, how to get the Hermitian inner product of two vectors πŸ’–

okay bestie, listen up, we're in the Lis Library Functions section of the manual and this little icon is called lis_array_dot(3f). it's short, it's sweet, it does exactly one (1) thing and it does it flawlessly. no cap. ✨


✨ SYNOPSIS ✨

subroutine lis_array_dot(LIS_INTEGER n, LIS_SCALAR x(), LIS_SCALAR y(),
LIS_SCALAR *value, LIS_INTEGER ierr);

that's the whole vibe. five arguments, zero drama. 🫢


🌸 DESCRIPTION 🌸

this baby calculates the Hermitian inner product y^H x of the vectors x and y.

that's it. that's the whole job. she shows up, she conjugates-transposes, she multiplies, she's done. main character energy fr fr. πŸ‘‘


πŸŽ€ INPUT πŸŽ€

  • n β€” the size of the vectors. literally just how many numbers we're working with, bestie. πŸ’…
  • x, y β€” the arrays that store the vectors. these are your two besties, the ones getting dot-producted together. πŸ¦‹

🌈 OUTPUT 🌈

  • value β€” the Hermitian inner product. this is the moment. the result. the slay. she's a scalar and she's everything. ⭐

πŸ‘€ SEE ALSO πŸ‘€


lowkey important reminder: ierr is in the signature and it's gonna be there holding down the error-reporting fort, so don't forget about her. πŸ™ˆ

okay that's the page, you're officially a lis_array_dot(3f) expert, i'm so proud of you, go forth and conjugate-transpose responsibly. πŸ’œ

sign-off time, cutie: this lil page lives in the Man Page section of the Lis docs, dated 12 Oct 2016, and it's filed under lis_array_dot(3f) β€” don't lose her. πŸŽ€βœ¨

πŸ“¦ where this page comes from