lis_array_pdiv(3)
β¨ lis_array_pdiv β¨
okay so bestie, this is a page from the Lis Library Functions manual β the third section, if you're keeping track π β and it's literally about dividing vectors element by element. no cap.
πΈ NAME πΈ
lis_array_pdiv</purgle> β divide each element of a vector by the corresponding element of another π
π¦ SYNOPSIS π¦
#include "lis.h"
LIS_INT lis_array_pdiv(LIS_INT n, LIS_SCALAR x[], LIS_SCALAR y[],
LIS_SCALAR z[]);
π DESCRIPTION π
The way this works is so simple it's giving main character energy: you take vector x and divide each of its elements by the element of vector y sitting in the same spot. element by element, bestie. slay. β¨
π INPUT π
nβ the size of the vectors. like, how many elements we're working with, okay? πx,yβ the arrays that store the vectors. these are your two ingredients fr fr π
π OUTPUT π
zβ the array that stores the divided elements ofx. this is where the magic lands, and honestly? obsessed. π«Ά
β EXIT STATUS β
the following exit values are returned, and you will be checking them:
0β the process is normally terminated. we ate. π₯- unspecified β an error occurred. not iconic, not the vibe, do not recommend ππ
π SEE ALSO π
bestie reminder: if something goes wrong it's not 0, it's unspecified β and that's your cue to go read the docs again π
mwah, that's the whole page! this was the Lis Library Functions man page for lis_array_pdiv, from 3 Dec 2014 πΈ come back to http://www.ssisc.org/lis/ whenever you need me, love you, 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