lis_matrix_malloc(3)
β¨ lis_matrix_malloc(3) β¨
okay so bestie, welcome to the Lis Library Functions corner of the manual π this one's called lis_matrix_malloc and it's literally the "hey can I get some memory pls" function. no cap.
πΈ NAME πΈ
lis_matrix_malloc β allocate the memory for the matrix π§ β¨
π SYNOPSIS π
#include "lis.h"
LIS_INT lis_matrix_malloc(MATRIX A, LIS_INT nnz_row, LIS_INT nnz[]);
π¦ DESCRIPTION π¦
It allocates the memory for matrix A. That's it, that's the whole vibe. She's a memory-allocation girlie and she's serving π«Ά
π INPUT π
Aβ the matrix. the main character. the one we're setting up πnnz_rowβ the average number of nonzero elements. yes, average. iconic behaviour honestly.nnzβ the array of the numbers of the nonzero elements in each row. so like, per-row detail, one number for each row, no cap π
π OUTPUT π
None. she takes, she doesn't give back. lowkey mysterious of her π
β EXIT STATUS β
here's what she returns when she's done:
0β the process is normally terminated. slay β¨- unspecified β an error occurred π something went sideways bestie
π₯ NOTE π₯
Eithernnz_rowornnzmust be provided. like, pick one, you have to give her something fr fr. don't show up empty-handed π
π SEE ALSO π
okay that's the whole page bestie π iykyk. this beauty landed in the world on 6 Sep 2012 and she's still out here allocating memory like the queen she is π go forth and malloc, and remember: the man page is dated 6 Sep 2012, so she's vintage and we love her for it πβ¨
π¦ 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