lis_vector_get_size(3)

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

✨ NAME ✨

lis_vector_get_size β€” bestie, this is the one that tells you how big your vector is πŸ’–

It lives in the Lis Library Functions section of the manual (section 3, if you were wondering, iykyk).


🌸 SYNOPSIS 🌸

#include "lis.h"

LIS_INT lis_vector_get_size(LIS_VECTOR v, LIS_INT *local_n, LIS_INT *global_n);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so, literally the whole job of this function: it gets the size of the vector v. That's it. That's the function. No cap πŸŽ€


πŸ“ INPUT πŸ“

  • v β€” the vector. Your girl. The one whose size we're asking about πŸ‘‘

πŸ’… OUTPUT πŸ’…

  • local_n β€” the size of the partial vector. So like, the chunk of it that lives on this process 🫢
  • global_n β€” the size of the global vector. The whole entire thing, the full picture, main character energy ⭐

πŸ‘‘ EXIT STATUS πŸ‘‘

Here's what you can get back:

  • 0 β€” everything went fine, the process is normally terminated. slay πŸ’–
  • unspecified β€” an error happened 😭 something went sideways, no further details given

🌈 NOTE 🌈

Important little detail bestie: in the case of the serial and multithreaded environments, local_n is equal to global_n. So don't be out here expecting them to differ, because they will not πŸ™ˆ


πŸŽ€ SEE ALSO πŸŽ€


Man Page Β· 6 Sep 2012 β€” mwah, that's the whole page, thanks for reading my little manual moment πŸ’œπŸ§šβ€β™€οΈ go call lis_vector_get_size on something and get those sizes, periodt ✨

πŸ“¦ where this page comes from