lis_output_matrix(3)

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

πŸ’– lis_output_matrix β€” bestie, it's the "save ur matrix" era πŸ’–

okay so this is lis_output_matrix, a lil function from the Lis Library Functions collection (you know, the Lis fam, part of the lis(3) cinematic universe 🫢). Short version: it takes ur matrix and dumps it into a file so u can keep it forever. iconic, honestly ✨


✨ NAME ✨

lis_output_matrix β€” write the matrix data πŸ’Ύ

Like, that's it. That's the whole job. It writes the matrix data. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include "lis.h"

LIS_INT lis_output_matrix(LIS_MATRIX A, LIS_INT format, char *filename);

yes bestie, u gotta #include "lis.h" first, always, don't skip it, it's giving prerequisite πŸ’…


🌸 DESCRIPTION 🌸

Write the matrix data to the external file.

That's literally the vibe: ur matrix goes from living in memory to living in an actual file on disk. main character relocation arc πŸ’–


πŸŽ€ INPUT πŸŽ€

  • A β€” The matrix. the actual star of the show, the one being written out πŸ‘‘
  • format β€” the format u want the output in. options are:
    • LIS_FMT_MM β€” The Matrix Market format. yes, that Matrix Market. the classic. the blueprint. ate πŸ“
  • filename β€” The destination file. where ur data is gonna land. pick wisely bestie, this is the address 🌈

πŸ’œ OUTPUT πŸ’œ

None.

literally nothing comes back. zero. the function does its thing and dips πŸ™ˆ (the results are in the file, not the return value, iykyk)


πŸ”₯ EXIT STATUS πŸ”₯

The following exit values are returned:

  • 0 β€” The process is normally terminated. we love a clean exit, slay πŸ’š
  • unspecified β€” An error occurred. 😭 not the error era. something went wrong and it's not telling u which number, just that it happened πŸ’€

⭐ SEE ALSO ⭐


and that's the whole page bestie, ur officially fluent in lis_output_matrix πŸ§šπŸ’…

also real talk: this page is from the Lis Library Functions, dated 6 Sep 2012 β€” so yeah, this manual page is a lil vintage, but it still eats πŸ’– periodt
πŸ“¦ where this page comes from