lis_vector_nrm2(3)
π lis_vector_nrm2 β from the Lis Library Functions manual, bestie π
okay so picture this: you've got a vector. a whole vector. and you're sitting there like "bestie⦠how big is this thing, like actually?" that's literally the whole job of this function. it's lis_vector_nrm2, and it pulls the 2-norm out of your vector like it's nothing. no cap.
β¨ NAME β¨
lis_vector_nrm2 β calculate the 2-norm of the vector πΈ
π SYNOPSIS π
#include "lis.h"
LIS_INT lis_vector_nrm2(LIS_VECTOR x, LIS_REAL *value);
π¦ DESCRIPTION π¦
Calculate the 2-norm of vector x.
that's it. that's the gig. hand it your vector, it hands you back the 2-norm. iconic behavior honestly. π
π INPUT π
xβ The vector. your main character. the one we're measuring. π
π OUTPUT π
valueβ The 2-norm of the vector. the number you came here for. slay. β¨
π EXIT STATUS π
The following exit values are returned:
0β The process is normally terminated π«Ά (we love a clean exit, fr fr)unspecifiedβ An error occurred π (not the vibe, ngl)
π₯ SEE ALSO π₯
lowkey the whole thing is just "give vector, get norm" and honestly? that's the energy. don't overthink it, bestie. π§
and that's a wrap on the Lis Library Functions page for lis_vector_nrm2, dated 10 Oct 2016 β yes, the original Man Page footer said exactly that, and we're keeping it, periodt. byeee, go norm something π
π¦ 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