lis_matrix_axpy(3f)
π lis_matrix_axpy β bestie we're doing MATRIX MATH π
okay so this is one of the Lis Library Functions (yes, the lis(3) girlies, we know her, we love her) and she's here to do exactly one thing and do it slayfully: add matrices together. group-chat recap incoming β¨
β¨ SYNOPSIS β¨
subroutine lis_matrix_axpy(LIS_SCALAR alpha, LIS_MATRIX A, LIS_MATRIX B,
LIS_INTEGER ierr);
like. look at her. four little arguments. iconic behavior fr fr π
πΈ DESCRIPTION πΈ
so basically this routine calculates the sum of the matrices, specifically:
B = alpha * A + B
that's it. that's the whole vibe. you hand her a scalar alpha and two matrices A and B, and she goes "okay bet" and gives you back alpha * A + B. no cap. π
π¦ INPUT π¦
alphaβ the scalar value. your little multiplier bestie, the seasoning, the β¨je ne sais quoiβ¨A,Bβ the matrices. the main characters. we love them, we respect them π«Ά
π OUTPUT π
Bβ becomesalpha * A + B. and yes bestie, she's overwritten. the oldB? gone. deceased. she doesn't exist anymore,Bhas been replaced with the new hotness. don't come crying to me about your originalB, i warned you π
β NOTE β
matricesAandBmust be in the DNS format. like, this is not a suggestion, this is the vibe check and if you fail it you're not getting in. DNS format only. periodt. π₯
π SEE ALSO π
lis(3)β go read her too, she's the mother of the whole situation π
and if you wanna go deeper (iykyk):
http://www.ssisc.org/lis/
and that's the whole page bestie!! stay slay, keep your matrices in DNS format, and remember: B gets overwritten, so hydrate and back up your data πβ¨
this lil cutie came from the Lis Library Functions, dated 30 Dec 2014, and lives in the manual as lis_matrix_axpy(3f). mwah, go forth and multiply π
πΈπ
π¦ 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