lis_vector_nrm2(3)

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

πŸ’– 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