lis_vector_gather(3)
β¨ lis_vector_gather β¨
okay bestie, welcome to the Lis Library Functions corner of the manual, section 3, where we talk about lis_vector_gather π«Ά this one's a whole mood: it's the girl who goes and collects everything for you π
πΈ NAME πΈ
lis_vector_gather β get the values of the vector π
π SYNOPSIS π
#include "lis.h"
LIS_INT lis_vector_gather(LIS_VECTOR v, LIS_SCALAR value[]);
like, that's it. two args, one vibe β¨
π¦ DESCRIPTION π¦
so here's the tea, bestie: this function gets the scalar value[i] of the i-th row of the vector v, where i=0,1,...,global_n-1. π§
translation? it literally walks the whole vector and hands you back every single scalar value, indexed cleanly from 0 all the way up to global_n-1. no cap. π
π INPUT π
vβ the source vector π (the one you're pulling values out of, the main character fr)
π OUTPUT π
valueβ the array to store the scalar values π« (this is where all the gathered scalars land, so make sure it's ready to hold them)
π EXIT STATUS π
the following exit values are returned, and yes we're reading them all:
0β the process is normally terminated β slay- unspecified β an error occurred π not slay
ngl bestie, if you get the unspecified one, something went wrong. the manual doesn't say what, it just says it happened. π
π₯ SEE ALSO π₯
and that's the whole page, gorgeous π
this was lis_vector_gather(3) from the Lis Library Functions, dated 6 Sep 2012 β Man Page energy only, periodt. go gather those scalars, you've got this π«Άπβ¨
π¦ 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