lis_array_matmat_ns(3f)

๐Ÿ“ฆ version 2.1.11, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

๐Ÿ’– 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 matrix A of size l * m ๐Ÿ“
  • lda โ€” the size of the leading dimension of array A
  • b โ€” the array that stores matrix B of size m * n โœจ
  • ldb โ€” the size of the leading dimension of array B
  • c โ€” the array that stores matrix C of size l * n ๐Ÿ’–
  • ldc โ€” the size of the leading dimension of array C
  • op โ€” okay so this one decides what actually happens, pick your fighter:
    • LIS_INS_VALUE โ€” does C = AB ๐Ÿ‘‘
    • LIS_SUB_VALUE โ€” does C = 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