lis_matrix_set_bsc(3)
π lis_matrix_set_bsc π
okay so bestie, this one lives in the Lis Library Functions, section 3 of the manual, and it's about handing your BSC arrays over to a matrix. it's giving "matchmaker but for data structures". let's get into it π
β¨ NAME β¨
lis_matrix_set_bsc β associate the arrays in the BSC format with the matrix π
πΈ SYNOPSIS πΈ
#include "lis.h"
LIS_INT lis_matrix_set_bsc(LIS_INT bnr, LIS_INT bsc, LIS_INT bnnz,
LIS_INT bptr[], LIS_INT bindex[], LIS_SCALAR value[], LIS_MATRIX A);
π DESCRIPTION π
Associate the arrays in the BSC format with matrix A.
that's it. that's the whole thing. you're literally just introducing your BSC arrays to A and saying "you two are together now, slay" π«Ά
π₯ INPUT π₯
bnrβ the row block size π§bncβ the column block size πΈbnnzβ the number of nonzero blocks βbptr,bindex,valueβ the arrays in the BSC format πAβ the matrix π
ngl, the synopsis above spells that second onebsc, and this INPUT list spells itbncβ both straight from the page, bestie, I'm just the messenger π
π«Ά OUTPUT π«Ά
Aβ the matrix associated with the arrays β¨
she's got her arrays now. main character energy fr fr π
π EXIT STATUS π
the following exit values are returned:
0β the process is normally terminated π- unspecified β an error occurred π
π NOTE π
Afterlis_matrix_set_bscis called, the functionlis_matrix_assemblemust be called.
not optional, not "maybe later", not "I'll do it tomorrow". must. this is a two-step combo and if you skip the second step it's not gonna go how you think it's gonna go π
π SEE ALSO π
and that's the whole page, periodt π this little cutie is Man Page coded, dated 6 Sep 2012, and she's out here being lis_matrix_set_bsc(3) in all her glory. go call lis_matrix_assemble next, bestie, I'm so serious ππ¦β¨
π¦ 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