lis_vector_xpay(3f)
β¨ 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, vectoryis overwritten π like it gets fully replaced, so if you needed the oldyβ¦ it's gone fr fr π
π₯ SEE ALSO π₯
just so you know:yis overwritten, so don't come for me when your originalyis 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
- 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