lis_matrix_axpyz(3)
β¨ lis_matrix_axpyz β calculate the sum of the matrices β¨
okay bestie, welcome to lis_matrix_axpyz(3), one of the lil gems from the Lis Library Functions manual π she does one thing and she does it gorgeously: adds matrices together. that's it. that's the whole vibe. and honestly? obsessed. π
πΈ SYNOPSIS πΈ
#include "lis.h"
LIS_INT lis_matrix_axpyz(LIS_SCALAR alpha, LIS_MATRIX A, LIS_MATRIX B,
LIS_MATRIX C);
like, look at that signature. so clean. so structured. the way she takes a scalar and three matrices and just delivers π«Ά
π DESCRIPTION π
Calculate the sum of the matrices C = alpha * A + B.
that's literally the whole thing, and it's giving math major main character energy fr fr. you hand her a scalar, you hand her two matrices, and she hands you back a third matrix that's the sum. no cap β¨
π INPUT π
alphaβ the scalar value π (yes bestie, she gets multiplied across everything, that's her job)A,Bβ the matrices π the two cuties going into the blender
π OUTPUT π
Cβalpha * A + Bπ« the glow-up result, freshly computed and ready for you
π EXIT STATUS π
the following exit values are returned, and yes you should lowkey check them:
0β the process is normally terminated πΈ everything slayed, nothing broke, we love to see it- unspecified β an error occurred π something went sideways, and she's not gonna tell you exactly what, which is... a choice
π NOTE π
MatricesA,BandCmust be in the DNS format. like, this is not optional, bestie. not a suggestion. not a vibe. if they're not in DNS format, do not pass go, do not collect your sum. π
π¦ SEE ALSO π¦
lis(3)- http://www.ssisc.org/lis/ β go peek, iykyk π
and that's the whole page, bestie!! this little icon was documented on 30 Dec 2014 as part of the Lis Library Functions man page set, and the source lives at http://www.ssisc.org/lis/. periodt. go forth and add those matrices πβ¨ππ¦
π¦ 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