lis_vector_reciprocal(3)
π lis_vector_reciprocal β the "flip it, reverse it" era π
okay so bestie, we're deep in the Lis Library Functions zone (that's the manual name, iykyk) and today's main character is lis_vector_reciprocal(3). it does literally one thing and it does it flawlessly. no notes. π
β¨ NAME β¨
lis_vector_reciprocal β get the reciprocal values of the elements of the vector π¦
like⦠it takes your vector, and every element goes "1 over me, periodt."
πΈ SYNOPSIS πΈ
#include "lis.h"
LIS_INT lis_vector_reciprocal(LIS_VECTOR x);
that's it. that's the whole thing. one function, one argument, zero drama. π
π DESCRIPTION π
Get the reciprocal values of the elements of vector x. π§
so basically every element of x gets replaced by its reciprocal value. it's giving math but make it cute. π₯
π INPUT π
xβ The vector π
(yes queen, this is the vector you're handing over)
π OUTPUT π
xβ The vector that stores the reciprocal values π
it writes right back into x. in-place glow-up, no extra vector needed, we love an efficient icon. β¨
β EXIT STATUS β
The following exit values are returned:
0β The process is normally terminated π«Ά (slay, everything worked)- unspecified β An error occurred π (not slay, something went wrong)
fr fr, if you get anything that isn't 0, that's your sign that an error occurred. no cap.
π₯ SEE ALSO π₯
and that's the whole page bestie, we ate and left no crumbs π
this was Lis Library Functions, page lis_vector_reciprocal(3), dated 28 Aug 2014 β love that for us, vintage but still iconic πβ¨
π¦ 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