lis_vector_get_range(3)
π lis_vector_get_range(3) π
okay bestie, welcome to the Lis Library Functions corner of the manual, section 3, and today's main character is lis_vector_get_range β¨
πΈ NAME πΈ
lis_vector_get_range β get the location of the partial vector in the global vector πΊοΈ
π SYNOPSIS π
#include "lis.h"
LIS_INT lis_vector_get_range(LIS_VECTOR v, LIS_INT *is, LIS_INT *ie);
π¦ DESCRIPTION π¦
So like. You have a vector v, right, and it's a partial vector, meaning it's just one lil slice of a much bigger global vector. This function tells you where that slice lives inside the big one. That's it, that's the whole vibe. π
π INPUT π
vβ the partial vector. your girl. the slice in question π°
π OUTPUT π
isβ the location where the partial vectorvstarts in the global vectorieβ the location where the partial vectorvends in the global vector
β EXIT STATUS β
here's what you might get back, no cap:
0β the process is normally terminated, we ate, we slayed π- unspecified β an error occurred π something went wrong and the universe said "not today"
π§ NOTE π§
real talk, for the serial and multithreaded environments: a vector of size n results in is = 0 and ie = n. so it starts at the very beginning and ends at the very end, which honestly? iconic. full range, no notes. π
π₯ SEE ALSO π₯
π reminder bestie: this is from the Lis Library Functions manual, dated 6 Sep 2012, page lis_vector_get_range(3). go forth and get those ranges, you got this fr fr π«Άπβ¨
π¦ 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