lis_array_matvec_ns(3)
π lis_array_matvec_ns(3) β from the Lis Library Functions π
okay bestie, sit down, hydrate, and let me tell you about lis_array_matvec_ns β the matrix-vector product girlie who does not require a square matrix, and honestly? iconic behavior. π¦
β¨ SYNOPSIS β¨
#include "lis.h"
LIS_INT lis_array_matvec_ns(LIS_INT m, LIS_INT n, LIS_SCALAR a[],
LIS_INT lda, LIS_SCALAR x[], LIS_SCALAR y[]);
like yes, that's the whole signature, no cap. π«Ά
πΈ DESCRIPTION πΈ
So basically this function calculates the matrix-vector product Ax, where the matrix A is not square. That's literally the whole point β it's giving "rectangle rights" and we love that for her. π
π INPUT π
m,nβ the size of the matrix and the vectors, periodt.aβ the array that stores matrixA, of sizem * n. yes, m times n, keep up bestie πxβ the array that stores vectorx, of sizen.yβ the array that stores vectory, of sizem.opβ the vibe selector, and there are exactly two moods:LIS_INS_VALUEβ meansy = Axβ¨LIS_SUB_VALUEβ meansy = y - Axπ
π OUTPUT π
yβ it'sy. that's it. that's the output. she returnsy. π
π₯ EXIT STATUS π₯
these are the exit values she hands back to you:
0β the process is normally terminated. slay, everything worked, we're so back. πunspecifiedβ an error occurred. not the moment, not the vibe, go check your inputs bestie π
π SEE ALSO π
lowkey a reminder from your girl: A is not square here. that is not a bug, that is the entire personality of this function. do not come for her. π
Man Page β 3 Dec 2014 π¦ and that's the tea, bestie β go forth and multiply (matrices, specifically). mwah πβ¨
π¦ 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