lis_matrix_set_jad(3f)

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

πŸ’– lis_matrix_set_jad(3f) πŸ’–

okay so bestie, welcome to the Lis Library Functions corner of the manual, and today's main character is lis_matrix_set_jad β€” yes, that's the one, the JAD-format baddie. Let's get into it 🫢


✨ NAME ✨

lis_matrix_set_jad β€” associate the arrays in the JAD format with the matrix. that's the whole vibe. no cap.


🌸 SYNOPSIS 🌸

subroutine lis_matrix_set_jad(LIS_INTEGER nnz, LIS_INTEGER maxnzr,
LIS_INTEGER perm[], LIS_INTEGER ptr[], LIS_INTEGER index[], LIS_SCALAR
value[], LIS_MATRIX A, LIS_INTEGER ierr);

literally just look at that signature. iconic. she takes a whole little friend group of arguments and she handles them all πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Associate the arrays in the JAD format with matrix A. that's it, that's the job, and she does it flawlessly πŸ”₯


πŸ‘‘ INPUT πŸ‘‘

  • maxnzr β€” The number of nonzero elements. (okay so the original page lists maxnzr here again, and honestly that's giving typo energy β€” iykyk β€” but I'm telling you exactly what it says, fr fr πŸ™ˆ)
  • maxnzr β€” The maximum number of nonzero elements in each row. yes, again. she's committed to the bit πŸ’€
  • perm, ptr, index, value β€” The arrays in the JAD format. the whole squad. all four of them, no one left behind πŸŽ€
  • A β€” The matrix. the girl herself πŸ’–

⭐ OUTPUT ⭐

  • A β€” The matrix associated with the arrays. she came in as a matrix and she leaves as a matrix with arrays attached. glow-up behavior ✨

πŸŽ€ NOTE πŸŽ€

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

not optional bestie. must. don't skip the assemble step, that's the rule and I don't make them, I just deliver them 🌸


🌈 SEE ALSO 🌈

go read them, they're right there, I believe in you 🧚


and that's the page, bestie! this lil gem is from the Lis Library Functions manual, dated 6 Sep 2012, and the footer tags it as lis_matrix_set_jad(3f) under Man Page. old but gold, periodt πŸ’œβœ¨

πŸ“¦ where this page comes from