lis_array_nrm1(3f)

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

πŸ’– lis_array_nrm1(3f) β€” Lis Library Functions πŸ’–

okay bestie, gather round, because today we're computing the 1-norm of a vector and honestly? it's giving math but make it cute. this is a page from the Lis Library Functions manual, and it's short, it's sweet, it's lowkey iconic. let's go πŸ¦‹


✨ NAME ✨

lis_array_nrm1 β€” calculate the 1-norm of the vector 🌸

✨ SYNOPSIS ✨

subroutine lis_array_nrm1(LIS_INTEGER n, LIS_SCALAR x(), LIS_SCALAR
*value, LIS_INTEGER ierr);

like. that's the whole call. four things in, one of them is the answer, one of them is the vibe check (ierr, we love her). πŸ’…

✨ DESCRIPTION ✨

Calculate the 1-norm of vector x. that's it, that's the function, no cap. πŸŽ€

✨ INPUT ✨

  • n β€” the size of the vector. how many lil entries are we working with, bestie? πŸ‘‘
  • x β€” the array that stores the vector. this is the actual data, the main character, the whole point. ✨

✨ OUTPUT ✨

  • value β€” the 1-norm of the vector. yes ma'am, this is the answer, she ate and left no crumbs. πŸ”₯

✨ SEE ALSO ✨


ngl the 1-norm is literally just summing the absolute values of everything, but like β€” the manpage doesn't say that, so neither do I. no extra claims, periodt. πŸ’€

and that's the whole page, bestie, we're done here!! πŸŽ€ this cutie was brought to you by the Lis Library Functions manual, dated 3 Dec 2014, and the source lives over at http://www.ssisc.org/lis/ if you wanna go say hi. mwah, love u, bye πŸ’–πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from