lis_vector_axpy(3)
π lis_vector_axpy β bestie edition π
okay so this is a page from the Lis library functions manual, section 3, and it's about lis_vector_axpy. yes the name is giving "what did my keyboard just do" but stay with me, it's literally so good π¦
β¨ NAME β¨
lis_vector_axpy β calculate the sum of the vectors. that's it, that's the whole vibe. it's a vector math girlie and she's here to add things. π
πΈ SYNOPSIS πΈ
#include "lis.h"
LIS_INT lis_vector_axpy(LIS_SCALAR alpha, LIS_VECTOR x, LIS_VECTOR y);
like. look at that signature. LIS_INT coming back at you, one scalar, two vectors, no drama. π
π«Ά DESCRIPTION π«Ά
okay so what does she actually do? she calculates the sum of the vectors, and the formula is:
y = alpha * x + y
no cap, that's the whole thing. she takes your scalar alpha, multiplies it through vector x, adds your existing y on top, and that's the math. iconic behavior honestly. β¨
π INPUT π
alphaβ the scalar value. just a number, living its single little life, about to get multiplied across a whole vector. main character energy fr.x,yβ the vectors. the actual list-y besties going into the math.
π OUTPUT π
yβ this isalpha * x + y, and YES, heads up bestie: vectoryis overwritten. not me watching your originalyget replaced π she does not save a copy. she does not ask permission. she just writes over it. periodt.
π lowkey important: if you were attached to whatever was in y before, that data is gone. plan accordingly.
π EXIT STATUS π
the following exit values are returned:
0β the process is normally terminated. we love a clean exit. slay. β¨unspecifiedβ an error occurred. no further details given, it's just. vibes off. π
π§ SEE ALSO π§
lis(3)β the main character of the whole library, go read her page too π
and if you wanna be nosy online: http://www.ssisc.org/lis/ π
okay that's the whole page bestie, you ate that π«Άπ
this was the Man Page for lis_vector_axpy(3), dated 6 Sep 2012 β yeah she's an older icon but she still hits π₯
byeeee, go add some vectors π β¨
π¦ 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