lis_vector_duplicate(3f)
β¨ lis_vector_duplicate(3f) β¨
okay bestie, welcome to section 3f of the Lis Library Functions manual β yes the whole thing is filed under that name, we love a formal era π
β and today we're talking about lis_vector_duplicate, which is literally the "make me a twin" function and I'm obsessed.
π¦ NAME π¦
lis_vector_duplicate β duplicate the vector
πΈ SYNOPSIS πΈ
subroutine lis_vector_duplicate(void *vin, LIS_VECTOR *vout, LIS_INTEGER
ierr);
look at her. three args, no notes. π
π DESCRIPTION π
Create vector vout which has the same information as vin.
that's it. that's the whole vibe. you hand it a vector, it hands you back a vector that knows all the same stuff. β¨
π INPUT π
vinβ the source vector. the original. the blueprint. the one we're copying from. π
π OUTPUT π
voutβ the destination vector. the new baby. freshly made, ready to hold stuff. π«Ά
π¨ NOTE π¨
bestie, READ THIS ONE. lis_vector_duplicate does not copy the values β it only allocates the memory. so like, the shape is there, but the contents?? not yet. it's giving empty apartment with great floor plan. π
if you actually want the values in there too, you gotta call lis_vector_copy after this function. in that order. do not skip steps. periodt. π
π₯ SEE ALSO π₯
π sign-off π
okay that's the whole page, you ate, go duplicate responsibly. this was page lis_vector_duplicate(3f) from the Lis Library Functions man page, dated 6 Sep 2012 β yes she's vintage, yes she still slays, iykyk. bye bestie, mwah ππ§β
π¦ 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