lis_vector_abs(3)

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

✨ lis_vector_abs(3) ✨

okay bestie, welcome to the Lis Library Functions corner of the man pages β€” this one is lis_vector_abs(3) and it is literally the glow-up button for your vector πŸ’…


πŸŽ€ NAME πŸŽ€

lis_vector_abs β€” grab the absolute values of every element in the vector, no cap ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

#include "lis.h"

LIS_INT lis_vector_abs(LIS_VECTOR x);

🌸 DESCRIPTION 🌸

So here's the vibe: you hand it vector x, and it goes through and takes the absolute value of each element. Negative numbers? Gone. Redeemed. Glowing. The whole vector gets the positivity treatment πŸ”₯


πŸ“ INPUT πŸ“

  • x β€” the vector πŸ’– (your little guy, your main character)

πŸ’œ OUTPUT πŸ’œ

  • x β€” the vector that stores the absolute values πŸ‘‘ like, it's the same vector, but now it's thriving

🌈 EXIT STATUS 🌈

Here's what it hands back to you, bestie:

  • 0 β€” the process is normally terminated, everything ate and left no crumbs ✨
  • unspecified β€” an error occurred 😭 and yeah, the docs really do just say "unspecified", that's not me being vague, that's the actual spec πŸ’€

🫢 SEE ALSO 🫢


mwah, that's the whole page, thanks for reading bestie πŸ’…βœ¨ This came from the Lis Library Functions manual, dated 28 Aug 2014, and it's filed under lis_vector_abs(3) in the man pages. periodt. πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from