sc::IntV3Arraydouble2(3)

πŸ“¦
version 2.3.1 Β· 3 versions
, in fedora 43, fedora 44, ubuntu noble

πŸ’– NAME πŸ’–

sc::IntV3Arraydouble2 β€” bestie, that's the whole name, that's the whole vibe, it's a C++ class and it's literally just called that πŸ’…


✨ SYNOPSIS ✨

🫢 Public Member Functions

void set_dim (int n1, int n2)
double & operator() (int i, int j)
void print (std::ostream &)
int nbyte () const

okay so that's the whole public-facing situation, no cap πŸ‘‘


🌸 DESCRIPTION 🌸

not me introducing you to sc::IntV3Arraydouble2 πŸ’– it's a class from MPQC, and the manual page is keeping it lowkey mysterious β€” like, the NAME line and the SYNOPSIS are basically the whole story here, no extra lore, no long paragraphs, just the member functions doing their thing ✨

so what we do know, fr fr, is that this class hands you exactly four public member functions and we are obsessed:

  • void set_dim (int n1, int n2) β€” you feed it two ints, n1 and n2, and it sets the dimensions. that's it, that's the job πŸŽ€
  • double & operator() (int i, int j) β€” the call operator!! you index in with two ints, i and j, and you get back a reference to a double. reference, bestie, meaning you can poke at it directly 😭πŸ”₯
  • void print (std::ostream &) β€” hands your output stream the business and prints. it takes a std::ostream &, so point it at whatever stream you want πŸ¦‹
  • int nbyte () const β€” it's const, it returns an int, and the name says bytes. give me the bytes, queen πŸ‘‘
no invented behaviour over here, we only say what the page says 🫢 the descriptions above are literally all this manpage gives us and we're not about to make stuff up, periodt.

🧚 Author 🧚

Generated automatically by Doxygen for MPQC from the source code.</purl> β€” wait, purple tag, let me redo that: Generated automatically by Doxygen for MPQC from the source code. so yeah, no human author to stan, the robot did it πŸ€–βœ¨


that's the whole page, bestie, short and iconic πŸ’œ and before you go β€” this came from MPQC, Version 2.3.1, page sc::IntV3Arraydouble2(3) in the Library Functions Manual. slay, bye πŸŽ€πŸ¦‹β­

πŸ“¦ where this page comes from