lis_array_swap(3f)
π« lis_array_swap β bestie, we're swapping π«
okay so this is lis_array_swap(3f), a lil function from the Lis Library Functions family, and honestly? she's simple, she's iconic, she does exactly one thing and she does it well. no notes. π
β¨ NAME β¨
lis_array_swap β swap the values of the vector elements π
like... that's it. that's the whole job. the elements trade places. main character energy fr fr.
πΈ SYNOPSIS πΈ
subroutine lis_array_swap(LIS_INTEGER n, LIS_SCALAR x(), LIS_SCALAR y(),
LIS_INTEGER ierr);
look at her. three inputs, one output code, zero drama. π«Ά
π¦ DESCRIPTION π¦
Swap the values of the vector elements.
no cap, that's the entire description. you hand her two arrays, she makes them trade lives. x becomes what y was, y becomes what x was, and everybody moves on with their day. it's giving identity crisis but make it mutual. π
π INPUT π
nβ the size of the vectors. she needs to know how many elements we're shuffling around, bestie. no guessing games. π’x,yβ the source arrays. these are the two cuties walking into the swap. π
π OUTPUT π
x,yβ the destination arrays. same two girls, brand new values. the swap has been served. β¨
π₯ SEE ALSO π₯
lowkey reminder: ierr is sitting right there in the signature at the end, so keep an eye on her, she's the one who'll tell you how it went. π
and that's the whole page, bestie!! π this lil icon was brought to you by Lis Library Functions, dated 3 Dec 2014, and the man page herself is lis_array_swap(3f). go forth and swap responsibly. mwah. ππ§πΈ
π¦ 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