lis_vector_axpy(3f)
β¨ 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 multiplyingxby, 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(vectoryis overwritten)
not me reminding you thatygets overwritten β like, the originalyyou passed in? gone. replaced. it's the newynow. 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
- 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