lis_array_matvec(3)
๐ lis_array_matvec(3) ๐
okay bestie, welcome to the Lis Library Functions corner of the manual, where we're about to make a matrix and a vector kiss and produce a brand new vector. it's giving math but make it cute โจ
โจ NAME โจ
lis_array_matvec โ calculate the matrix vector product ๐งฎ๐
๐ธ SYNOPSIS ๐ธ
#include "lis.h"
LIS_INT lis_array_matvec(LIS_INT n, LIS_SCALAR a[], LIS_SCALAR x[],
LIS_SCALAR y[], LIS_INT op);
like yes she takes five arguments and she eats every single time ๐ซถ
๐ฆ DESCRIPTION ๐ฆ
she calculates the matrix-vector product Ax. that's it, that's the whole job, and she does it flawlessly no cap ๐ฏ
๐ INPUT ๐
nโ the size of the matrix and the vectors. everyone's matching, it's a vibe check ๐aโ the array that stores matrix A, of sizen * n. yes queen, she's holding the whole matrix ๐xโ the array that stores vector x, of sizen๐yโ the array that stores vector y, of sizen๐opโ the operation selector, and this one decides what actually goes down:LIS_INS_VALUEโy = Ax. she overwrites y with the product, main character energy, out with the old ๐โจLIS_SUB_VALUEโy = y - Ax. she subtracts the product from whatever y already had going on, lowkey iconic ๐
โญ OUTPUT โญ
yโ y. that's the answer bestie, that's the whole point ๐
๐ EXIT STATUS ๐
here's what she returns when she's done:
0โ the process is normally terminated. slay, no notes ๐ฅณ- unspecified โ an error occurred. not me manifesting an errorโฆ if this happens, something went wrong and the manual is simply not going to elaborate ๐
๐ฅ SEE ALSO ๐ฅ
and that's the page!! this was the Man Page for lis_array_matvec(3), dated 3 Dec 2014, from the Lis Library Functions collection ๐ go forth and multiply (matrices) bestie, ily, bye ๐ซถโจ๐
๐ฆ 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