lis_matrix_set_bsr(3)
π lis_matrix_set_bsr(3) π
ok so bestie, welcome to the Lis Library Functions corner of the man pages πΈ this one's about lis_matrix_set_bsr, and ngl it's a glow-up moment for your matrix. let's get into it π«Ά
β¨ NAME β¨
lis_matrix_set_bsr β associate the arrays in the BSR format with the matrix
like... you've got arrays in BSR format just sitting there, and this is the function that sets them up with the matrix. matchmaker behavior fr π
π SYNOPSIS π
#include "lis.h"
LIS_INT lis_matrix_set_bsr(LIS_INT bnr, LIS_INT bnc, LIS_INT bnnz,
LIS_INT bptr[], LIS_INT bindex[], LIS_SCALAR value[], LIS_MATRIX A);
there she is π copy it exactly, no typos, the compiler is NOT forgiving and neither is the vibe check.
π¦ DESCRIPTION π¦
Associate the arrays in the BSR format with matrix A. that's the whole job. it's giving matchmaker, it's giving "these arrays belong to this matrix now, periodt" β¨
π INPUT π
the stuff you gotta hand over, bestie:
bnrβ The row block size πbncβ The column block size πbnnzβ The number of nonzero blocks π’bptr,bindex,valueβ The arrays in the BSR format πAβ The matrix π
π OUTPUT π
Aβ The matrix associated with the arrays π
she's been through a transformation and she looks stunning
β EXIT STATUS β
The following exit values are returned:
0β The process is normally terminated β iconic, no notesunspecifiedβ An error occurred π not the vibe, something went wrong
π₯ NOTE π₯
Afterlis_matrix_set_bsris called, the functionlis_matrix_assemblemust be called. π¨
like, no skipping this step bestie, it's not optional. lis_matrix_set_bsr alone is just the setup β lis_matrix_assemble is the main character moment that actually finishes the job. skip it and nothing works, iykyk π
πΈ SEE ALSO πΈ
and that's the whole page, bestie π go forth and set those BSR arrays, you absolute legend β¨
Man Page Β· 6 Sep 2012 Β· lis_matrix_set_bsr(3) β mwah, sending you off with a kiss and a correctly assembled matrix ππ
π¦ 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