lis_matrix_set_csr(3)
π lis_matrix_set_csr β bestie edition π
okay so this is a page from the Lis Library Functions manual, section 3, and it's all about lis_matrix_set_csr β¨
πΈ NAME πΈ
lis_matrix_set_csr β it associates the arrays in the CSR format with the matrix π«Ά
β¨ SYNOPSIS β¨
#include "lis.h"
LIS_INT lis_matrix_set_csr(LIS_INT nnz, LIS_INT ptr[], LIS_INT index[],
LIS_SCALAR value[], LIS_MATRIX A);
π DESCRIPTION π
So basically you're taking your arrays in the CSR format and gluing them onto matrix A. That's it, that's the whole vibe π
π INPUT π
nnzβ the number of nonzero elements π’ptr,index,valueβ the arrays in the CSR format π (yes, all three, they're a package deal)Aβ the matrix π¦
π OUTPUT π
Aβ the matrix, now associated with the arrays. glow up complete β¨
π EXIT STATUS π
here's what you can get back:
0β the process is normally terminated, slay πunspecifiedβ an error occurred π (no further info, it's giving mystery)
π NOTE π
okay this is important bestie, do NOT forget: afterlis_matrix_set_csris called, the functionlis_matrix_assemblemust be called. like, must. no skipping. periodt π
π§ SEE ALSO π§
and that's the whole page, fr fr π this was the man page for Lis Library Functions, dated 6 Sep 2012 β thanks for reading, ily, go call lis_matrix_assemble π«Άβ¨
π¦ 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