lis_matrix_set_dia(3)
β¨ lis_matrix_set_dia β bestie's guide to the DIA glow-up β¨
okay so this one lives in the Lis Library Functions manual, and it's literally the moment your DIA arrays get officially introduced to your matrix. π
πΈ NAME πΈ
lis_matrix_set_dia β associate the arrays in the DIA format with the matrix π«Ά
π¦ SYNOPSIS π¦
#include "lis.h"
LIS_INT lis_matrix_set_dia(LIS_INT nnd, LIS_INT index[], LIS_SCALAR
value[], LIS_MATRIX A);
π DESCRIPTION π
So what this does is associate the arrays in the DIA format with matrix A. That's it, that's the whole vibe. You hand it your DIA arrays, it hands them to A. matchmaker behavior, honestly. π
π INPUT π
nndβ the number of nonzero elements β¨index,valueβ the arrays in the DIA format πAβ the matrix π
π OUTPUT π
Aβ the matrix, now associated with the arrays. glow up complete. π
π EXIT STATUS π
Here's what you might get back:
0β the process is normally terminated. we love a clean exit, no cap. π₯³unspecifiedβ an error occurred. not iconic, not slay, just an error. π
β NOTE β
bestie listen. afterlis_matrix_set_diais called, the functionlis_matrix_assemblemust be called. no skipping, no shortcuts, that's the rule fr fr. π
π§ SEE ALSO π§
mwah π that's the page, you're welcome, go call lis_matrix_assemble before you forget. This one came out of the Lis Library Functions manual, dated 6 Sep 2012, and it's filed under lis_matrix_set_dia(3). periodt. π
β¨
π¦ 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