lis_matrix_set_ell(3f)

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

✨ lis_matrix_set_ell β€” bestie, let's bind those ELL arrays πŸ’…

okay so this is a page from the Lis Library Functions manual, section 3f β€” yes it's a Fortran subroutine, and yes it's iconic. sit down, hydrate, we're learning πŸ’–


🌸 NAME 🌸

lis_matrix_set_ell β€” it takes the arrays you've got hanging out in ELL format and associates them with the matrix. like, introduces them. makes it official. 🫢


✨ SYNOPSIS ✨

subroutine lis_matrix_set_ell(LIS_INTEGER maxnzr, LIS_INTEGER index[],
LIS_SCALAR value[], LIS_MATRIX A, LIS_INTEGER ierr);

that's the whole vibe check right there πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

So what it does is literally this: it associates the arrays in the ELL format with matrix A. that's it. that's the whole function. and honestly? slay. 🌈


πŸŽ€ INPUT πŸŽ€

  • maxnzr β€” the max number of nonzero elements in each row. the ceiling. the limit. the "how much can one row hold" number. πŸ“
  • index, value β€” the arrays in the ELL format. the actual data besties. the receipts. πŸ’…
  • A β€” the matrix. main character energy tbh. πŸ‘‘

πŸ¦‹ OUTPUT πŸ¦‹

  • A β€” the matrix, now associated with the arrays. they're bonded. it's giving soulmate. πŸ’ž

⚠️ NOTE ⚠️

okay so this part is NOT optional and I need you to hear me: after lis_matrix_set_ell is called, you must call the function lis_matrix_assemble. no skipping. no "I'll do it later". the assemble call is mandatory, fr fr. 😭

πŸ‘€ SEE ALSO πŸ‘€


and that's the page, bestie 🧚 go forth and assemble your matrices πŸ’œ

this has been your girl, signing off from the Lis Library Functions corner of the manual, dated 6 Sep 2012 β€” the man page footer said so and I would never lie to you πŸŽ€βœ¨πŸŒΈ

πŸ“¦ where this page comes from