lis_matrix_set_jad(3)

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

🌸 NAME 🌸

lis_matrix_set_jad β€” the function that associates the arrays in the JAD format with the matrix πŸ’…

and yeah, it's part of the Lis Library Functions manual (section 3), so you know it's official bestie 🫢


✨ SYNOPSIS ✨

#include "lis.h"

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

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: you've got your arrays all dressed up in the JAD format, and this function is literally the matchmaker that introduces them to matrix A. Associate the arrays in the JAD format with matrix A. That's it, that's the whole job, and it eats every single time πŸ”₯


πŸŽ€ INPUT πŸŽ€

  • maxnzr β€” the number of nonzero elements
  • maxnzr β€” the maximum number of nonzero elements in each row
not me spotting that this page lists maxnzr for both of these entries πŸ™ˆ bestie I'm just reporting what the page says, no cap β€” both lines are right there, so both lines are right here πŸ’–
  • perm, ptr, index, value β€” the arrays in the JAD format ✨
  • A β€” the matrix πŸ‘‘

🌈 OUTPUT 🌈

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

πŸ’€ EXIT STATUS πŸ’€

the following exit values are returned:

  1. 0 β€” the process is normally terminated βœ…
  2. unspecified β€” an error occurred 😭

⭐ NOTE ⭐

bestie listen to me very closely: after lis_matrix_set_jad is called, the function lis_matrix_assemble must be called. like, must must. do not skip it, do not pass go πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


k bye bestie, this page is dated 6 Sep 2012 and it came straight out of the Lis Library Functions source β€” lis_matrix_set_jad(3), iconic, no notes πŸ’œπŸ§š

πŸ“¦ where this page comes from