lis_vector_get_value(3f)
π lis_vector_get_value(3f) β the Lis Library Functions era π
okay bestie, so this is a page from the Lis Library Functions manual, section 3f, and it's all about one lil' subroutine that goes and fetches you a single scalar value out of a vector. yes. one number. that's the whole gig. and honestly? iconic behavior. π
β¨ NAME β¨
lis_vector_get_value β get the value of the row of the vector π¦
like, it gets the value of the row of the vector. that's literally what it does. no notes. π
β¨ SYNOPSIS β¨
subroutine lis_vector_get_value(LIS_INTEGER flag, LIS_INTEGER i,
LIS_SCALAR value, LIS_VECTOR v, LIS_INTEGER ierr);
she takes five arguments and she does not take any nonsense. periodt. β¨
β¨ DESCRIPTION β¨
Get the scalar value of the i-th row of the vector.
that's it. that's the plot. you point at a vector, you say "gimme row number i", and you get back the scalar sitting there. main character energy for a one-liner, honestly. π
β¨ INPUT β¨
iβ the location where the value is assigned π like, this is you telling her where to look, bestie.vβ the source vector πΈ the actual vector you're pulling from. the source of truth. the moment.
β¨ OUTPUT β¨
valueβ the value of the i-th row π«Ά so this is the thing you came for, the lil' scalar she hands back to you. it's giving gift. it's giving present.
β¨ NOTE β¨
β οΈ okay so this one matters, fr fr β for the multiprocessing environment, the i-th row of the global vector must be specified. don't come at her with some local-index nonsense and then act surprised. she said GLOBAL. π
β¨ SEE ALSO β¨
lis(3)β the mothership. go read her. π- http://www.ssisc.org/lis/ β the website, the lore, the whole vibe. go look, iykyk. π
okay and for the cute sign-off: this whole thing came out of the Lis Library Functions manual, and the page itself is dated 6 Sep 2012 β yeah, she's an elder but she ate and left no crumbs. π β¨ bye bestie, go get your values π¦π
π¦ 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