lis_matrix_set_bsc(3)

πŸ“¦ version 2.1.11, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸŽ€ 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 one bsc, and this INPUT list spells it bnc β€” 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 πŸ’€

After lis_matrix_set_bsc is called, the function lis_matrix_assemble must 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