lis_array_nrm2(3)

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

✨ lis_array_nrm2 ✨

okay bestie, so we're deep in the Lis Library Functions manual and today's main character is lis_array_nrm2(3) πŸ’… like, it's literally right there in the title, no cap.


πŸ’– NAME πŸ’–

lis_array_nrm2 β€” calculate the 2-norm of the vector πŸ¦‹


🌸 SYNOPSIS 🌸

#include "lis.h"

LIS_INT lis_array_nrm2(LIS_INT n, LIS_SCALAR x[], LIS_SCALAR *value);

πŸŽ€ DESCRIPTION πŸŽ€

So what does it do? It calculates the 2-norm of vector x. That's it, that's the whole vibe. It's giving "math but make it cute" ✨


πŸ“ INPUT πŸ“

  • n β€” the size of the vector, aka how many lil guys are in there 🫢
  • x β€” the array that stores the vector, the actual data container, the moment πŸ’«

🌈 OUTPUT 🌈

  • value β€” the 2-norm of the array. yes queen, that's the answer πŸŽ€

πŸ‘‘ EXIT STATUS πŸ‘‘

here's what you get back when it's done:

  • 0 β€” the process is normally terminated, everything slayed, no notes πŸ’…
  • unspecified β€” an error occurred 😭 something went wrong and honestly we don't know what

πŸ”₯ SEE ALSO πŸ”₯


k that's the whole page bestie, go forth and compute your norms πŸŒΈπŸ¦‹βœ¨

man page, 3 Dec 2014, lis_array_nrm2(3) β€” mwah, periodt πŸ’–
πŸ“¦ where this page comes from