lis_array_nrmi(3)

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

πŸ’– lis_array_nrmi β€” NAME πŸ’–

okay so bestie, this is lis_array_nrmi, a lil function from the Lis Library Functions crew, and what it does is calculate the infinity norm of the vector. that's it. that's the whole job. she's focused, she's got one task, and she ate. πŸ’…


✨ SYNOPSIS ✨

like all the Lis girlies, you gotta pull in the header first:

#include "lis.h"

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

that's the whole signature, no cap. LIS_INT in, LIS_SCALAR array in, pointer to LIS_SCALAR out. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, calculate the infinity norm of vector x. that's what she does. you hand her a vector and she hands you back its infinity norm. iconic behavior honestly. no drama, no side quests, just vibes and math. ✨


🌸 INPUT 🌸

here's what you gotta hand her:

  • n β€” the size of the vector. like, how many lil entries are in there. she needs to know. 🫢
  • x β€” the array that stores the vector. this is the actual data, bestie, the main character of the whole operation. πŸ‘‘

πŸ’œ OUTPUT πŸ’œ

what you get back:

  • value β€” the infinity norm of the array. she puts it right there in your pointer. slay. πŸ’–

⭐ EXIT STATUS ⭐

the following exit values are returned, and yes you should actually check them:

  • 0 β€” the process is normally terminated. everything went off without a hitch, we love to see it. πŸŽ‰
  • unspecified β€” an error occurred. 😭 something went wrong, no further details given, she's being mysterious about it.

🧚 SEE ALSO 🧚

go check out her bestie and the mothership:


anyway that's the whole page bestie, mwah πŸ’‹ this was the lis_array_nrmi(3) man page from Lis Library Functions, dated 3 Dec 2014, and it's giving exactly what it needed to give. go forth and norm your vectors. πŸ¦‹βœ¨πŸŽ€πŸ’…

πŸ“¦ where this page comes from