lis_array_matmat_ns(3f)
๐ lis_array_matmat_ns โ it's giving matrix-matrix product ๐
okay so bestie, this is a page from the Lis Library Functions manual, and it's about lis_array_matmat_ns(3f). yes the name is a mouthful, no we are not renaming it, it's iconic actually. let's get into it ๐ซถ
โจ NAME โจ
lis_array_matmat_ns</pruple> โ calculate the matrix-matrix product ๐งฎโจ
๐ SYNOPSIS ๐
subroutine lis_array_matmat_ns(LIS_INTEGER l, LIS_INTEGER m, LIS_INTEGER
n, LIS_SCALAR a(), LIS_INTEGER lda, LIS_SCALAR b(), LIS_INTEGER ldb,
LIS_SCALAR c(), LIS_INTEGER ldc, LIS_INTEGER op, LIS_INTEGER ierr);
like. look at her. ten whole arguments and she's serving ๐
๐ธ DESCRIPTION ๐ธ
so the whole vibe here is: it calculates the matrix-matrix product AB, where matrices A and B are not square. lowkey obsessed with the honesty of that. non-square representation only, no cap ๐
๐ฆ INPUT ๐ฆ
l,m,nโ the sizes of the matrices. that's it, that's the trio, the main character energy of dimensions ๐aโ the array that stores matrixAof sizel * m๐ldaโ the size of the leading dimension of arrayAbโ the array that stores matrixBof sizem * nโจldbโ the size of the leading dimension of arrayBcโ the array that stores matrixCof sizel * n๐ldcโ the size of the leading dimension of arrayCopโ okay so this one decides what actually happens, pick your fighter:LIS_INS_VALUEโ doesC = AB๐LIS_SUB_VALUEโ doesC = C - AB๐
โญ OUTPUT โญ
Cโ she comes out the other side changed, periodt ๐
๐ SEE ALSO ๐
and that's the whole page bestie!! go forth and multiply (matrices) ๐ ๐ธ
mwah ๐ โ with love from the Lis Library Functions era, dated 10 Oct 2016, filed under lis_array_matmat_ns(3f) โจ๐ฆ
๐ฆ 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