lis_matrix_set_blocksize(3f)

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

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

ok so this is a page from the Lis Library Functions set, and it's about lis_matrix_set_blocksize β€” a Fortran-callable subroutine (3f, iykyk) that sets up your matrix's block size. it's giving very niche, very powerful. let's go πŸ¦‹


✨ NAME ✨

lis_matrix_set_blocksize β€” assign the block size of the matrix πŸŽ€


✨ SYNOPSIS ✨

subroutine lis_matrix_set_blocksize(LIS_MATRIX A, LIS_INTEGER bnr,
     LIS_INTEGER bnc, LIS_INTEGER row[], LIS_INTEGER col[], LIS_INTEGER
     ierr);

like, that's the whole vibe right there. six things go in, one of them is ierr doing the emotional labor of telling you if it worked 😭


✨ DESCRIPTION ✨

okay so basically: this subroutine assigns the block size for the BSR, BSC, and VBR formats. that's it. that's the whole job. and it ate πŸ’…

no cap, if you're out here working with block formats, this is the little guy that tells Lis how your blocks are shaped. main character energy for a one-line description, honestly.


✨ INPUT ✨

these are the things you gotta hand over. every single one, no skipping πŸ‘‘

  • A β€” the matrix. the whole point. the moment. 🌟
  • bnr β€” the row block size of the BSR (BSC) format, or the number of row blocks of the VBR format. yes it's doing double duty depending on which format you're in, she contains multitudes ✨
  • bnc β€” the column block size of the BSR (BSC) format, or the number of column blocks of the VBR format. same deal, same duality πŸ¦‹
  • row β€” the array of the row division information about the VBR format
  • column β€” the array of the column division information about the VBR format
🫢 tiny heads-up bestie: in the synopsis the fifth argument is written col[], and down here in the input list it's called column. same thing, just wanted you to not get jumpscared. πŸ’€

✨ NOTE ✨

so this section exists in the original... and it is literally empty. nothing. void. a blank little space where a note would be πŸ™ˆ

not me reading it four times to make sure. it's empty fr fr. moving on πŸ’…


✨ SEE ALSO ✨

go click the link, it's the mothership 🌈


and that's the whole page, bestie!! you understood it, you slayed it, periodt. πŸŽ€βœ¨

this one shipped as part of the Lis Library Functions manual, dated 6 Sep 2012, and the page itself is lis_matrix_set_blocksize(3f) β€” so if you ever need to cite her, that's the glow-up tag. byeeee πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from