lis_array_pdiv(3f)

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

πŸ’– NAME πŸ’–

lis_array_pdiv β€” okay so bestie, this one divides each element of a vector by the corresponding element of another vector. Element-by-element. One-to-one. The way that math should be, honestly. πŸŽ€


✨ SYNOPSIS ✨

subroutine lis_array_pdiv(LIS_INTEGER n, LIS_SCALAR x(), LIS_SCALAR y(),
LIS_SCALAR z(), LIS_INTEGER ierr);

Fortran girlies rise, we're calling a subroutine today πŸ’…


🌸 DESCRIPTION 🌸

So here's the vibe: you've got two vectors, x and y. This routine goes through them element by element and divides each element of vector x by the corresponding element of vector y. That's it, that's the whole thing, no cap. πŸ¦‹

Straight down the line, index by index, dividing as it goes. Iconic behavior, honestly.


πŸŽ€ INPUT πŸŽ€

  • n β€” the size of the vectors. How many elements we're working with, bestie. Know your length. πŸ“
  • x, y β€” the arrays that store the vectors. x is the one getting divided, y is the one doing the dividing. They're a set, they're a duo, they're giving main character energy together. πŸ‘‘

🫢 OUTPUT 🫢

  • z β€” the array that stores the divided elements of x. This is where the results land, freshly divided, ready for you. ✨
Heads up: z is the output array β€” that's where you go looking for your answers when the call is done. πŸ“

🌈 SEE ALSO 🌈


And that's the whole page, bestie!! 🧚 This was lis_array_pdiv(3f), part of the Lis Library Functions, and it's dated 3 Dec 2014 β€” like, an elder but a legend. Go forth and divide. πŸ’œ

πŸ“¦ where this page comes from