lis_vector_get_size(3)
β¨ 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
- 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