lis_matrix_set_vbr(3f)

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

πŸ’– lis_matrix_set_vbr β€” the 3f page from the Lis Library Functions ✨

okay bestie, gather round, because this one is literally about handing your VBR arrays over to a matrix and letting them be one. 🫢


🌸 NAME 🌸

lis_matrix_set_vbr β€” associate the arrays in the VBR format with the matrix

like, the whole job is: you got arrays, the matrix wants arrays, this function does the introduction. πŸ’…


✨ SYNOPSIS ✨

subroutine lis_matrix_set_vbr(LIS_INTEGER nnz, LIS_INTEGER nr,
LIS_INTEGER nc, LIS_INTEGER bnnz, LIS_INTEGER row[], LIS_INTEGER col[],
LIS_INTEGER ptr[], LIS_INTEGER bptr[], LIS_INTEGER bindex[], LIS_SCALAR
value[], LIS_MATRIX A, LIS_INTEGER ierr);

not me counting the arguments… there's a lot, but every single one matters, no cap. 🌈


πŸ’œ DESCRIPTION πŸ’œ

Associate the arrays in the VBR format with matrix A.

that's it, that's the whole vibe. you bring the arrays, A gets them. iconic. πŸ‘‘


πŸŽ€ INPUT πŸŽ€

  • nnz β€” The number of nonzero elements
  • nr β€” The number of row blocks
  • bnc β€” The number of column blocks
  • bnnz β€” The number of nonzero blocks
  • row, col, ptr, bptr, bindex, value β€” The arrays in the VBR format
  • A β€” The matrix
ok so real talk: the synopsis up there says nc and this input list says bnc, and i'm not gonna gaslight you about it β€” both are exactly what the page says. iykyk. πŸ™ˆ

πŸ¦‹ OUTPUT πŸ¦‹

  • A β€” The matrix associated with the arrays

she's been matched. slay. ✨


⭐ NOTE ⭐

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

bestie this is not optional, this is must. skipping it is giving "i set it up and walked away" and we do not do that. 😭

🌈 SEE ALSO 🌈


and that's the whole page, mwah πŸ’– β€” this was the lis_matrix_set_vbr(3f) man page from the Lis Library Functions, dated 6 Sep 2012, and if you need me i'll be here assembling my matrices. periodt. πŸ’…

πŸ“¦ where this page comes from