lis_array_abs(3f)

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

πŸ’– lis_array_abs(3f) πŸ’–

okay bestie, welcome to the Lis Library Functions corner of the man pages, where we make math look cute ✨ this one is lis_array_abs, and she is serving absolute value realness 🫢


✨ NAME ✨

lis_array_abs β€” get the absolute values of the elements of the vector πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

subroutine lis_array_abs(LIS_INTEGER n, LIS_SCALAR x(), LIS_INTEGER ierr);

like. that's the whole thing. three args, one vibe check. 🌸


πŸ¦‹ DESCRIPTION πŸ¦‹

Get the absolute values of the elements of vector x. that's it, that's the function. she takes your vector, she strips the negativity out of every single element (emotionally and mathematically), and she hands you back the glow-up ✨ no cap, it's giving "therapist for arrays" energy.


πŸ’œ INPUT πŸ’œ

  • n β€” The size of the vector. she needs to know how many elements she's working with, okay? respect the boundaries πŸ™ˆ
  • x β€” The array that stores the vector. this is your baby, your data, your main character array πŸ’…

🌈 OUTPUT 🌈

  • x β€” The array that stores the absolute values. yes, same x! she overwrites in place, she's efficient, she's iconic πŸ‘‘

πŸ“ SEE ALSO πŸ“


⭐ reminder: ierr is right there in the synopsis doing its little error-code thing, so check on her after you call this, bestie. she's the friend who quietly tells you if something went wrong 🫢

mwah πŸ’‹ that's a wrap on the Lis Library Functions page for lis_array_abs(3f), straight out of the Man Page, dated 3 Dec 2014. slay, go abs some vectors, i'm obsessed with you πŸ’–πŸ§šπŸŒΈ

πŸ“¦ where this page comes from