lis_array_shift(3f)
β¨ 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
- 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