lis_array_nrm1(3)
β¨ lis_array_nrm1 β the 1-norm bestie β¨
okay so this is a page from the Lis Library Functions manual, and today's main character is lis_array_nrm1(3). it's giving math girlie, it's giving vector vibes π
π NAME π
lis_array_nrm1 β bestie, this calculates the 1-norm of the vector. that's the whole job. no cap. β¨
π¦ SYNOPSIS π¦
#include "lis.h"
LIS_INT lis_array_nrm1(LIS_INT n, LIS_SCALAR x[], LIS_SCALAR *value);
like, that's the whole signature. four things. iconic behavior honestly π«Ά
πΈ DESCRIPTION πΈ
so basically: this function calculates the 1-norm of the vector x. that's it. that's the vibe check. lowkey elegant, highkey useful. π
π INPUT π
nβ the size of the vector. like how many lil guys are in there πxβ the array that stores the vector. the actual data, the moment, the content π
π OUTPUT π
valueβ the 1-norm of the array. this is where the answer goes, bestie, pls hand it a pointer π
π EXIT STATUS π
here's what you might get back:
0β the process is normally terminated. slay, everything went fine β¨- unspecified β an error occurred. π not the unspecified error. we don't know what happened and that's the scariest part fr fr
π SEE ALSO π
lis(3)β the mothership, go read it- http://www.ssisc.org/lis/ β the website, go touch grass-adjacent documentation π±
and that's the whole page, bestie!! this was lis_array_nrm1(3) from the Lis Library Functions, and the page footer says it was dated 3 Dec 2014 β so yeah, she's been serving accurate norm math since way before we were cool. periodt. π
πβ¨
π¦ 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