lis_matrix_set_vbr(3)
π lis_matrix_set_vbr(3) β the one from the Lis Library Functions β¨
okay bestie, sit down, hydrate, because we're about to associate some arrays with a matrix and it's honestly kind of a slay π«Ά
πΈ NAME πΈ
lis_matrix_set_vbr β associate the arrays in the VBR format with the matrix π
β¨ SYNOPSIS β¨
#include "lis.h"
LIS_INT lis_matrix_set_vbr(LIS_INT nnz, LIS_INT nr, LIS_INT nc, LIS_INT
bnnz, LIS_INT row[], LIS_INT col[], LIS_INT ptr[], LIS_INT bptr[],
LIS_INT bindex[], LIS_SCALAR value[], LIS_MATRIX A);
likeβ¦ look at her. eleven arguments and she's serving every single one π
π¦ DESCRIPTION π¦
So basically: this function associates the arrays in the VBR format with matrix A. That's the whole job. She takes your VBR-format arrays and she hands them over to A. no cap, that's it, that's the vibe π
π INPUT π
nnzβ the number of nonzero elements π’nrβ the number of row blocksbncβ the number of column blocks π (yes, the synopsis up there calls this onenc, and down here the page saysbncβ I'm just telling you what's on the page, don't come for me)bnnzβ the number of nonzero blocks π§±row,col,ptr,bptr,bindex,valueβ the arrays in the VBR format. all of them. the whole squad πAβ the matrix π«Ά
π OUTPUT π
Aβ the matrix associated with the arrays β¨ (she's been through a glow-up, she now has the arrays)
π EXIT STATUS π
the following exit values are returned:
0β the process is normally terminated π slay, we love a clean exitunspecifiedβ an error occurred π not the vibe, something went wrong
π¨ NOTE π¨
okay this part is IMPORTANT bestie, do not skip it: afterlis_matrix_set_vbris called, the functionlis_matrix_assemblemust be called. like, must must. you don't get to skip this step, she's not done until you assemble her π
π SEE ALSO π
and that's the page!! π shoutout to the Lis Library Functions manual, dated 6 Sep 2012, page lis_matrix_set_vbr(3) β go forth, associate those arrays, and call lis_matrix_assemble afterwards or I will know πΈπβ¨
π¦ 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