lis_matrix_copy(3)

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

✨ lis_matrix_copy(3) ✨

okay bestie, so this one lives in the Lis Library Functions manual (that's the manual name btw, we're not copying the header line, just vibing with it) and it's genuinely one of the simplest little slays in the whole library πŸ’–


πŸ’… NAME πŸ’…

lis_matrix_copy β€” copy the values of the matrix elements

like. that's it. that's the whole job. she copies. she's an icon.


πŸŽ€ SYNOPSIS πŸŽ€

#include "lis.h"

LIS_INT lis_matrix_copy(LIS_MATRIX Ain, LIS_MATRIX Aout);

so you pull in "lis.h", and then you hit her with a LIS_INT return value and two LIS_MATRIX arguments. two matrices walk in, values walk out (well, values get copied out, but you get it πŸ¦‹).


🌸 DESCRIPTION 🌸

Copy the values of the matrix elements.

no cap, that's the entire description. she is not doing anything extra. she is not being mysterious. she takes the values of the matrix elements and she copies them. main character energy, minimal plot, periodt ✨


πŸ“ INPUT πŸ“

  • Ain β€” the source matrix. the original. the blueprint. the one we're copying from 🫢

πŸ’œ OUTPUT πŸ’œ

  • Aout β€” the destination matrix. the one that receives the copy. she's the one getting the glow-up πŸ’…

πŸ”₯ EXIT STATUS πŸ”₯

the following exit values are returned, and yes we care about them, vibe check your return value every time:

  • 0 β€” the process is normally terminated. she ate. πŸŽ‰
  • unspecified β€” an error occurred 😭 not the vibe. something went wrong and the manpage is literally telling you it's unspecified, so like… good luck bestie.
fr fr, check that LIS_INT that comes back. 0 is the only happy ending here.

πŸ¦‹ SEE ALSO πŸ¦‹

go read lis(3) if you want the full lore, and the site has the whole extended universe iykyk 🌈


and that's the page!! this one's from the Man Page source, dated 6 Sep 2012, and it's filed under lis_matrix_copy(3) πŸŽ€ mwah, go copy some matrices responsibly, bestie πŸ’–βœ¨

πŸ“¦ where this page comes from