lis_array_reciprocal(3f)

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

πŸ’– lis_array_reciprocal(3f) β€” bestie edition πŸ’–

okay so welcome to lis_array_reciprocal(3f), part of the Lis Library Functions manual set. this is the page where we flip every single element of your vector upside down. yes, that kind of flip. 1/x energy. reciprocal core. let's get into it 🫢


✨ NAME ✨

lis_array_reciprocal β€” get the reciprocal values of the elements of the vector

like... every element gets its own little glow-up where it becomes one over itself. that's the whole job. slay πŸ’…


🌸 SYNOPSIS 🌸

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

look at her. three arguments. n, x(), and our good friend ierr who never gets invited to the party but always shows up πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

Get the reciprocal values of the elements of vector x.

that's it. that's the function. it takes the vector sitting in x, and every element gets replaced with its reciprocal. no cap, that's literally the entire vibe. iconic behavior honestly πŸ”₯


🌈 INPUT 🌈

  • n β€” The size of the vector. she's the headcount, bestie. how many elements are we working with πŸ‘‘
  • x β€” The array that stores the vector. this is the girlies. all the elements, lined up, about to get reciprocalled πŸ’œ

πŸŽ€ OUTPUT πŸŽ€

  • x β€” The array that stores the reciprocal values. she came in as a vector and left as reciprocals. glow-up complete. main character energy ✨

πŸ’« SEE ALSO πŸ’«


lowkey important reminder: this function writes the reciprocal values back into x itself. the original elements? gone. replaced. that's the assignment, and she did it πŸ’…

and that's the page, bestie!! this was Lis Library Functions, dated 3 Dec 2014, from the manual page family. mwah. go reciprocate responsibly πŸŒΈπŸ’–βœ¨

πŸ“¦ where this page comes from