lis_vector_gather(3)

πŸ“¦ version 2.1.11, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

✨ 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