lis_output_vector(3f)

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

πŸ’– lis_output_vector(3f) β€” a.k.a. the "save ur vector, bestie" page πŸ’–

okay so this one lives in the Lis Library Functions manual, and honestly? it's giving ✨ archival queen ✨. it's a 3f page, so yes, it's Fortran, and yes, she's still gorgeous. πŸŽ€


🌸 NAME 🌸

lis_output_vector β€” write the vector data πŸ“βœ¨

like, literally just dump ur vector into a file. that's the whole job. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

subroutine lis_output_vector(LIS_VECTOR v, LIS_INTEGER format, char
*filename, LIS_INTEGER ierr);

there she is. four args, one destiny. πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

Write the vector data to the external file. 🌈

that's it. that's the vibe. u hand her a vector, u tell her what format, u tell her where to put it, and she does it. main character energy fr fr. πŸ‘‘


✨ INPUT ✨

here's where u tell her what she's workin' with. pay attention bestie, all four of these matter 🫢

  • v β€” the vector. the actual star of the show, the data itself, the whole reason we're here. πŸ“
  • format β€” the format u want, and there are exactly two choices, so no decision paralysis:
    • LIS_FMT_PLAIN β€” the PLAIN format. simple. clean. no thoughts, just numbers. 😌
    • LIS_FMT_MM β€” the Matrix Market format. fancy, structured, iykyk. πŸ’«
  • filename β€” the destination file. where it's all going. the address on the envelope, the "deliver to" of the whole operation πŸ“¬

πŸ’€ OUTPUT πŸ’€

None.

literally nothing comes back out. she writes the file and she's done. no return value, no little treat, no ierr gossip beyond the one u passed in. not me expecting a response 😭 she said "i'll be at the function, don't wait up." πŸ™ˆ


🌈 SEE ALSO 🌈


and that's the page!! tysm for reading, go write ur vectors, u got this πŸ’–βœ¨

sign-off, cuties: this was the Lis Library Functions page, served fresh from 6 Sep 2012 β€” yes she's an elder but she ATE and left no crumbs. periodt. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from