lis_matrix_set_bsc(3f)

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

πŸ’– lis_matrix_set_bsc β€” bestie edition πŸ’–

okay so this is a page from the Lis Library Functions manual, and the whole vibe is: you've got arrays sitting in BSC format (block sparse column, iykyk) and you need them to be officially attached to your matrix. That's it. That's the function. πŸ’…


✨ NAME ✨

lis_matrix_set_bsc β€” associate the arrays in the BSC format with the matrix 🫢


🌸 SYNOPSIS 🌸

subroutine lis_matrix_set_bsc(LIS_INTEGER bnr, LIS_INTEGER bsc,
LIS_INTEGER bnnz, LIS_INTEGER bptr[], LIS_INTEGER bindex[], LIS_SCALAR
value[], LIS_MATRIX A, LIS_INTEGER ierr);

πŸ¦‹ DESCRIPTION πŸ¦‹

Associate the arrays in the BSC format with matrix A.

literally just. bind them. attach them. make it official. πŸ’–


πŸ‘‘ 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 πŸ’œ

πŸŽ€ OUTPUT πŸŽ€

  • A β€” the matrix associated with the arrays ⭐

πŸ’€ NOTE πŸ’€

After lis_matrix_set_bsc is called, the function lis_matrix_assemble must be called.

not optional, bestie. do NOT forget the assemble step or the whole thing is giving unfinished business. 😭


🌈 SEE ALSO 🌈


and that's the whole page, no notes, ate and left no crumbs. this one's from the Lis Library Functions manual, page lis_matrix_set_bsc(3f), dated 6 Sep 2012 β€” mwah, go call lis_matrix_assemble now fr fr πŸ’…βœ¨

πŸ“¦ where this page comes from