lis_matrix_axpy(3)
okay so bestie, welcome to lis_matrix_axpy(3) from the Lis Library Functions manual. It's giving matrix math, but make it cute. π
β¨ NAME β¨
lis_matrix_axpy β calculate the sum of the matrices. fr fr, that's the whole vibe. π
π¦ SYNOPSIS π¦
#include "lis.h"
LIS_INT lis_matrix_axpy(LIS_SCALAR alpha, LIS_MATRIX A, LIS_MATRIX B);
πΈ DESCRIPTION πΈ
Bestie, this function calculates the sum of the matrices. The equation is literally:
B = alpha * A + B
So you're scaling A by alpha, adding B, and dropping the result back into B. Main character energy, but for matrices. periodt. β¨
π INPUT π
alphaβ The scalar value. It's the multiplier, the little sprinkle that changes everything. π§A,Bβ The matrices. The duo we're working with. π
π OUTPUT π
Bβalpha * A + B(matrixBis overwritten). And yes, it's not coming back the same. Transformation arc, no cap. π
π EXIT STATUS π
The following exit values are returned:
0β The process is normally terminated. Clean exit, iconic. βunspecifiedβ An error occurred. Not the vibe. π
β οΈ NOTE β οΈ
MatricesA,Bmust be in the DNS format. Don't skip this, bestie. π«Ά
π SEE ALSO π
That's the whole lis_matrix_axpy(3) page, signed off from the Man Page source and dated 30 Dec 2014. Go forth and axpy, bestie. πβ¨
π¦ 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