lis_array_pdiv(3)

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

✨ 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 of x. 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 πŸ‘‘

http://www.ssisc.org/lis/


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