lis_matrix_unset(3)

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

πŸ’– lis_matrix_unset(3) πŸ’–

okay bestie, welcome to the Lis Library Functions corner of the manual, where we're talking about lis_matrix_unset β€” the lil function that unassociates the arrays from the matrix. yes it's a whole thing. let's get into it ✨


🌸 NAME 🌸

lis_matrix_unset β€” unassociate the arrays from the matrix

like. it detaches. it lets go. it's giving "we're not together anymore" but for memory πŸ¦‹


✨ SYNOPSIS ✨

#include "lis.h"

LIS_INT lis_matrix_unset(LIS_MATRIX A);

that's it. one header, one function, one matrix argument. clean. minimal. iconic πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

Unassociate the arrays from matrix A.

so basically A is out here holding onto its arrays, and this function is the moment where it stops doing that. the arrays get un-associated. that's the whole vibe. no cap 🌈


πŸ’œ INPUT πŸ’œ

  • A β€” the matrix that's currently associated with the arrays πŸ‘‘

🫢 OUTPUT 🫢

  • A β€” the matrix, but now unassociated 😌✨

πŸ”₯ EXIT STATUS πŸ”₯

here's what you get back, bestie:

  • 0 β€” the process is normally terminated πŸ’– everything went great, we love that for you
  • unspecified β€” an error occurred 😭 something went sideways, no further details given, fr fr

⭐ NOTE ⭐

okay this part is important, don't skip it!! after lis_matrix_unset is called, the function lis_matrix_destroy must be called. like. must. this is not optional. it's giving "you have to clean up after yourself" energy πŸ§ΉπŸ’€

🌈 SEE ALSO 🌈


mwah πŸ’‹ that's the page. written on the 28 Aug 2014, straight out of the Lis Library Functions collection, and this specific page is literally titled lis_matrix_unset(3). go unassociate those arrays, queen πŸ‘‘βœ¨

πŸ“¦ where this page comes from