lis_array_shift(3f)

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

✨ NAME ✨

lis_array_shift β€” bestie, this one gets you the shifted values of the elements of the vector πŸ’– (it's giving glow-up for your array, fr fr)


🌸 SYNOPSIS 🌸

subroutine lis_array_shift(LIS_INTEGER n, LIS_SCALAR alpha, LIS_SCALAR x(), LIS_INTEGER ierr);

okay so that's the whole call, no cap β€” five things go in, and ierr comes back out to tell you how it went 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

So like… this routine gets the shifted values of the elements of vector x. That's the whole vibe. You hand it a vector, you hand it how much you wanna shift by, and it hands you back the shifted version. Iconic behaviour honestly ✨


πŸŽ€ INPUT πŸŽ€

  • n β€” the size of the vector. Like, how many elements we're working with, bestie.
  • alpha β€” the amount of the shift. How far we're sliding, no questions asked πŸ’…
  • x β€” the array that stores the vector. This is the one getting the makeover πŸ’–

πŸ‘‘ OUTPUT πŸ‘‘

  • x β€” the array that stores the shifted values. Same array, new era, main character energy only 🌈

🌟 SEE ALSO 🌟


and that's the whole page, periodt πŸ’œ this little writeup is from the Lis Library Functions manual, dated 3 Dec 2014, and it lives under the name lis_array_shift(3f) β€” go off, queen πŸ‘‘βœ¨

πŸ“¦ where this page comes from