lis_array_shift(3)
β¨ lis_array_shift β bestie, we're shifting things β¨
okay so real talk, this is a page from the Lis Library Functions manual, and it's about lis_array_shift β the glow-up function that gives you the shifted values of every element in your vector. no cap. π
πΈ NAME πΈ
lis_array_shift β get the shifted values of the elements of the vector
like literally, that's the whole gig. it shifts. it delivers. periodt. π
π¦ SYNOPSIS π¦
#include "lis.h"
LIS_INT lis_array_shift(LIS_INT n, LIS_SCALAR alpha, LIS_SCALAR x[]);
so you pull in lis.h first, obviously, and then you call it with the size, the shift amount, and the array. that's it. that's the whole summoning ritual. π
π DESCRIPTION π
Get the shifted values of the elements of vector x.
that's the vibe. you hand it a vector, it hands you back the shifted version. iconic behaviour honestly. β¨
π INPUT π
here's what you gotta feed it, bestie:
nβ the size of the vector. like, how many elements are we working with. she needs to know. πalphaβ the amount of the shift. how far are we sliding. the whole mood of the operation. π«xβ the array that stores the vector. this is the actual goods. π§Ί
π OUTPUT π
xβ the array that stores the shifted values. yes, samex. she comes back changed. main character transformation arc fr fr. π¦
π EXIT STATUS π
the following exit values are returned:
0β the process is normally terminated. slay, everything worked, we love to see it. πunspecifiedβ an error occurred. not me getting an error π something went sideways and the page will not tell you what, which is honestly so unhelpful of it, but there it is. π©
π«Ά SEE ALSO π«Ά
and that's the whole page, bestie!! mwah π this was the lis_array_shift(3) page from the Lis Library Functions manual, dated 3 Dec 2014, and if you wanna go find the source of all this chaos it lives at http://www.ssisc.org/lis/. go shift something. i believe in you. πβ¨
π¦ 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