lis_array_matmat(3f)
β¨ lis_array_matmat β¨
okay so bestie, welcome to lis_array_matmat(3f) β it lives in the Lis Library Functions corner of the universe, and it's literally the girl who does matrix-matrix multiplication for you. π
πΈ NAME πΈ
lis_array_matmat β calculate the matrix-matrix product. that's it, that's the whole job, and she does it flawlessly. no cap. π
π¦ SYNOPSIS π¦
subroutine lis_array_matmat(LIS_INTEGER n, LIS_SCALAR a(), LIS_SCALAR
b(), LIS_SCALAR c(), LIS_INTEGER op, LIS_INTEGER ierr);
six args, one subroutine, zero drama. π
β¨ DESCRIPTION β¨
She calculates the matrix-matrix product AB. that's the vibe. A times B, and depending on what you tell her with op, she either drops it straight into C or subtracts it from whatever C was already holding. main character energy fr fr. π₯
π INPUT π
nβ the size of the vectors. she needs to know how big we're going, bestie. πaβ the array that stores matrix A of sizen * n. that's your first matrix, your girl A. πbβ the array that stores matrix B of sizen * n. and that's B, the second one, alson * nbecause they have to match, obviously. π¦cβ the array that stores matrix C of sizen * n. the destination. the moment. the place where the math lands. β¨opβ the vibe check that tells her what to actually do with the product:LIS_INS_VALUEβC = AB. she straight up inserts the product into C. clean slate behaviour, iconic. πLIS_SUB_VALUEβC = C - AB. she subtracts the product from C, so C keeps its old self and gets the product taken away from it. no thoughts, just subtraction. π
π OUTPUT π
cβC. yeah girl, the output is C, the same C you handed her. she works in place and hands it right back. π«Ά
β SEE ALSO β
lis(3)β go meet the whole family, she's part of something bigger π§- http://www.ssisc.org/lis/ β the official home base, go say hi π
and that's the page!! this one's from the Lis Library Functions manual, dated 3 Dec 2014, and the footer says lis_array_matmat(3f) β so yeah, that's her name and that's her birthday. π periodt. π
πΈβ¨
π¦ 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