lis_array_dot(3f)
π 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
- 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