lis_array_reciprocal(3f)
π 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 π«
lis(3)β the parent manual, go say hi to her- http://www.ssisc.org/lis/ β the site, for when you need more Lis lore iykyk
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
- fedora 43: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 43: lis-doc 2.1.11-1.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 44: lis-doc 2.1.11-1.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: lis 2.1.10
- nixpkgs unstable: lis 2.1.16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms