lis_array_nrm1(3f)
π 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 β¨
lis(3)β the mothership, go read her too π«Άhttp://www.ssisc.org/lis/β the website, go touch grass (digitally) π
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
- 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