lis_matrix_set_value(3f)

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

πŸ’– lis_matrix_set_value(3f) β€” bestie's guide to the Lis Library Functions πŸ’–

okay so. picture this: you've got a matrix. you've got ONE little number. and you need that number to land in exactly the right spot. that's the whole job of lis_matrix_set_value, and honestly? it eats. πŸ’…


✨ SYNOPSIS ✨

subroutine lis_matrix_set_value(LIS_INTEGER flag, LIS_INTEGER i,
LIS_INTEGER j, LIS_SCALAR value, LIS_MATRIX A, LIS_INTEGER ierr);

like yes she takes six arguments, she's high maintenance, but she's worth it 🫢


🌸 DESCRIPTION 🌸

Assign the scalar value to the (i, j)-th element of matrix A. that's it. that's the vibe. you point at a spot in the matrix, you drop a value in, iconic behavior, no notes πŸ’–


πŸ¦‹ INPUT πŸ¦‹

  • flag β€” the mood selector, bestie. it tells her how to put the value in:
    • LIS_INS_VALUE β€” overwrite mode ✨ A[i, j] = value
    • LIS_ADD_VALUE β€” plus-equals mode πŸ”₯ A[i, j] = A[i, j] + value
  • i β€” the row number of the matrix. which floor are we on, babe 🌈
  • j β€” the column number of the matrix. which door on that floor πŸšͺ
  • value β€” the scalar value to be assigned. the little guy. the payload. the moment πŸ’«
  • A β€” the matrix. the main character, lowkey πŸ‘‘

πŸ’œ OUTPUT πŸ’œ

  • A β€” the matrix. yes she comes back changed. glow-up era 🌸

πŸŽ€ NOTE πŸŽ€

For the multiprocessing environment, the i-th row and the j-th column of the global matrix must be specified. ngl this part is important, don't skip it 😭
The function lis_matrix_set_value stores the assigned value in a temporary internal format. Therefore, after lis_matrix_set_value is called, the function lis_matrix_assemble must be called. fr fr. do not forget lis_matrix_assemble. she will not commit until you do. it's giving situationship πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘


okay that's the whole page, you understood all of it, I'm so proud of you, go forth and set values bestie πŸ’–βœ¨πŸ¦‹πŸŒΈπŸŽ€πŸ’…πŸ«Ά

this has been lis_matrix_set_value(3f) from the Lis Library Functions manual, dated 28 Aug 2014 β€” mwah, take care of her, bye bye πŸ‘‘

πŸ“¦ where this page comes from