lis_array_copy(3f)

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

πŸ’– lis_array_copy(3f) β€” Lis Library Functions πŸ’–

okay bestie, gather round, because this one is short but it's also kind of the moment. it's lis_array_copy, it lives in the Lis Library Functions crew, and it does exactly one (1) thing: copies the values of the vector elements. that's it. that's the whole personality. and honestly? iconic. no cap.


✨ NAME ✨

lis_array_copy β€” copy the values of the vector elements 🫢


🌸 SYNOPSIS 🌸

subroutine lis_array_copy(LIS_INTEGER n, LIS_SCALAR x(), LIS_SCALAR y(),
LIS_INTEGER ierr);

look at that signature. four little guys. two in, one out, one status report. we love a clean interface πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Copy the values of the vector elements.

fr fr that's the entire job description. it takes the values chillin' in one array and duplicates them over into another array. no math, no drama, no side quests. it's giving "i am a reliable friend who shows up on time." ✨


πŸŽ€ INPUT πŸŽ€

  • n β€” The size of the vectors. like, how many elements are we talking about here. this is your headcount, bestie, so get it right πŸ‘‘
  • x β€” The source array. this is the array you're copying from, the origin story, the main character we're pulling the values out of πŸ’œ

🌈 OUTPUT 🌈

  • y β€” The destination array. this is where the copied values land. the glow-up location. the values walk in as x and walk out as y 😭✨
  • ierr β€” the integer where the routine drops its status back to you. it's in the signature, it's how you know if things went okay. always check on it, bestie, it's just polite 🫢

πŸ’« SEE ALSO πŸ’«

  • lis(3) β€” the whole Lis library, the mothership, the family reunion 🌸
  • http://www.ssisc.org/lis/ β€” the official site, go say hi, the docs are there and they're lowkey a vibe

πŸ’€ reminder for the girlies: x is the source and y is the destination. don't flip them. i know it's tempting at 3am during a debugging spiral. don't do it. i'm not being dramatic, i'm being accurate.

and that's the whole page, bestie!! πŸ’– this one came to you from the Lis Library Functions corner of the world, dated 3 Dec 2014, and yeah, it's a manual page β€” literally a Man Page β€” but we made it cute. mwah. go copy some arrays. slay. πŸ‘‘πŸŒˆβ­

πŸ“¦ where this page comes from