lis_array_matmat(3)
π lis_array_matmat β the matrix-matrix product girlie π
okay so bestie, this is a page from the Lis Library Functions manual (section 3, the library-call girlies π), and today's main character is lis_array_matmat. she does exactly one thing and she does it flawlessly: she multiplies two matrices. periodt. π
β¨ SYNOPSIS β¨
#include "lis.h"
LIS_INT lis_array_matmat(LIS_INT n, LIS_SCALAR a[], LIS_SCALAR b[],
LIS_SCALAR c[], LIS_INT op);
likeβ¦ look at her. π«Ά
πΈ DESCRIPTION πΈ
She calculates the matrix-matrix product AB. that's it, that's the whole vibe. no cap. β¨
π INPUT π
nβ the size of the matrices, bestie. just a number. π¦aβ the array that stores matrix A, and it's sizen * n. iconic.bβ the array that stores matrix B, also sizen * n. slay.cβ the array that stores matrix C, sizen * nas well. the trinity fr fr. πopβ the mood of the operation, and there are exactly two moods:LIS_INS_VALUEβ gives youC = AB. fresh start energy, she overwrites. πLIS_SUB_VALUEβ gives youC = C - AB. she's subtracting the product off of what was already in there, like a glow-down but mathematically. π
π OUTPUT π
Cβ C. yeah. that's the output. she said what she said. π
β EXIT STATUS β
the following exit values are returned, bestie:
0β the process is normally terminated. we love a clean exit. π- unspecified β an error occurred. not the vibe. π
π¦ SEE ALSO π¦
okay that's the whole page, you're basically a linear algebra girlie now π β¨
this cutie is brought to you by the Lis Library Functions manual, man page dated 3 Dec 2014, filed under lis_array_matmat(3) β mwah, go multiply something π«ΆπΈ
π¦ 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