sc::ReplSCVector(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

✨ NAME ✨

Okay bestie, welcome to the sc::ReplSCVector(3) manual page πŸ’– β€” this is sc::ReplSCVector, and it is literally the main character of this doc. ✨

🌸 SYNOPSIS 🌸

Inherits sc::SCVector. 🫢

πŸ’… Public Member Functions πŸ’…

  • ReplSCVector (const RefSCDimension &, ReplSCMatrixKit *) β€” constructor bestie; it's here and it's iconic. πŸŽ€
  • void assign_val (double) β€” Overridden to implement the assign functions ✨ β€” slay.
  • void assign_v (SCVector *) β€” listed with no extra note in the original. πŸ’€
  • void assign_p (const double *) β€” also listed with no extra note. 🫢
  • void set_element (int, double) β€” Set element i to val πŸ’–.
  • void accumulate_element (int, double) β€” Add val to element i 🌸.
  • double get_element (int) const β€” Return the value of element i ⭐.
  • void accumulate_product_sv (SymmSCMatrix *, SCVector *) β€” no extra note in the original, just vibes. πŸ¦‹
  • void accumulate_product_rv (SCMatrix *, SCVector *) β€” same here, no extra note. πŸŽ€
  • void accumulate (const SCVector *) β€” Sum v into this πŸ’….
  • void accumulate (const SCMatrix *) β€” Sum m into this. One of m's dimensions must be 1 πŸ‘‘.
  • double scalar_product (SCVector *) β€” Return the dot product ✨.
  • void element_op (const Ref< SCElementOp > &) β€” Perform the element operation op on each element of this 🫢.
  • void element_op (const Ref< SCElementOp2 > &, SCVector *) β€” no extra note in the original. 🌈
  • void element_op (const Ref< SCElementOp3 > &, SCVector *, SCVector *) β€” no extra note either. πŸ’œ
  • void vprint (const char *title=0, std::ostream &out=ExEnv::out0(), int=10) const β€” listed with no extra note. πŸ“
  • double * get_data () β€” also no extra note. 🧚
  • Ref< SCMatrixSubblockIter > local_blocks (SCMatrixSubblockIter::Access) β€” Returns iterators for the local (rapidly accessible) blocks used in this vector. πŸ”₯
  • Ref< SCMatrixSubblockIter > all_blocks (SCMatrixSubblockIter::Access) β€” Returns iterators for the all blocks used in this vector. 😭 yes, β€œthe all blocks” β€” we keep it.
  • Ref< ReplSCMatrixKit > skit () β€” no extra note in the original. πŸ’–

🫢 Protected Member Functions 🫢

  • void init_blocklist () β€” listed with no extra note. πŸŽ€
  • void before_elemop () β€” listed with no extra note. 🌸
  • void after_elemop () β€” listed with no extra note. πŸ¦‹

πŸŽ€ Protected Attributes πŸŽ€

  • Ref< SCMatrixBlockList > blocklist β€” no extra note in the original. πŸ’…
  • double * vector β€” no extra note. ✨

πŸ’€ Friends πŸ’€

  • class ReplSCMatrix
  • class ReplSymmSCMatrix
  • class ReplDiagSCMatrix

πŸ’– Member Function Documentation πŸ’–

✨ sc::ReplSCVector::local_blocks ✨

(SCMatrixSubblockIter::Access) [virtual]

Returns iterators for the local (rapidly accessible) blocks used in this vector. 🫢

🚨 bestie caveat: Only one iterator is allowed for a matrix if it has Accum or Write access; multiple Read iterators are permitted. πŸ’€

Implements sc::SCVector. πŸ”₯

🌈 Author 🌈

Generated automatically by Doxygen for MPQC from the source code. πŸ’…


🫢 k bye bestie β€” this page is from MPQC version 2.3.1, dated Sun Oct 4 2020. πŸ’–
πŸ“¦ where this page comes from