lis_array_set_all(3)
๐ lis_array_set_all โ bestie, it's giving "fill the whole vector" ๐
okay so literally the manual name is lis_array_set_all(3) and it lives in the Lis Library Functions family, and honestly? she's a simple girl. she does one thing and she does it flawlessly. no cap. ๐
โจ SYNOPSIS โจ
like, here's the whole vibe:
#include "lis.h"
LIS_INT lis_array_set_all(LIS_INT n, LIS_SCALAR value, LIS_SCALAR x[]);
that's it. that's the girl. ๐ฆ
๐ธ DESCRIPTION ๐ธ
so what she does is โ she takes a scalar value and assigns it to every single element of the vector x. all of them. every last one. she does not skip. she does not play favorites. she is thorough, and honestly we love that for her. ๐
๐ INPUT ๐
here's what you gotta hand her:
nโ the size of the vector. yes bestie, you have to tell her how big it is. she's not a mind reader. ๐ฎvalueโ the scalar value to be assigned. this is the thing that's gonna go everywhere. โจxโ the array that stores the vector. this is the girl getting filled up. ๐ซถ
๐ OUTPUT ๐
xโ the array with thevalueassigned to the elements. so like, she hands you back the same array but now every element isvalue. iconic behaviour, truly. ๐ญ
๐ EXIT STATUS ๐
she keeps it real and tells you how it went:
0โ the process is normally terminated. slay, we love a happy ending. ๐unspecifiedโ an error occurred. ๐ not me getting an unspecified error with no details, the mystery of it all, the drama.
fr fr, unspecified is literally the vaguest thing ever and she said "figure it out bestie" ๐
๐ง SEE ALSO ๐ง
go read the main character, she has lore:
and that's the whole page, periodt. ๐
โจ this was the lis_array_set_all(3) entry from the Lis Library Functions, dated 3 Dec 2014 โ yeah she's a little vintage but she still ate. mwah, love u, go fill some vectors responsibly ๐๐ฆ๐
๐ฆ 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