sc::LocalSCVector(3)

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

πŸ’– sc::LocalSCVector πŸ’–

Okay so this is the MPQC manual page for sc::LocalSCVector, bestie. Welcome to the vector corner of the group chat. 🫢✨ Not me being obsessed with an inherited SCVector class, but here we are.

🌸 NAME 🌸

sc::LocalSCVector β€” that's the whole name. Iconic. πŸ’…

✨ SYNOPSIS ✨

πŸ’œ Inherits πŸ’œ

Inherits sc::SCVector.

πŸŽ€ Public Member Functions πŸŽ€

  • LocalSCVector (const RefSCDimension &, LocalSCMatrixKit *) β€” the constructor signature, exactly as listed. No extra blurb on the page, but we respect it. 🫑
  • void assign_val (double) β€” overridden to implement the assign functions. That's the official tea. β˜•
  • void assign_v (SCVector *) β€” signature only; the page doesn't add a one-liner for this one.
  • void assign_p (const double *) β€” also signature only. We still stan a concise icon. ✨
  • void set_element (int, double) β€” sets element i to val.
  • void accumulate_element (int, double) β€” adds val to element i.
  • double get_element (int) const β€” returns the value of element i.
  • void accumulate_product_sv (SymmSCMatrix *, SCVector *) β€” signature only, no extra description given here.
  • void accumulate_product_rv (SCMatrix *, SCVector *) β€” same vibe: signature only.
  • void accumulate (const SCVector *) β€” sums v into this.
  • void accumulate (const SCMatrix *) β€” sums m into this. One of m's dimensions must be 1.
  • double scalar_product (SCVector *) β€” returns the dot product.
  • void element_op (const Ref< SCElementOp > &) β€” performs the element operation op on each element of this.
  • void element_op (const Ref< SCElementOp2 > &, SCVector *) β€” signature only; no extra blurb on the page.
  • void element_op (const Ref< SCElementOp3 > &, SCVector *, SCVector *) β€” signature only again, bestie.
  • void vprint (const char *title=0, std::ostream &out=ExEnv::out0(), int=10) const β€” signature only. Defaults are literally title=0, out=ExEnv::out0(), and int=10.
  • double * get_data () β€” signature only. Short and mysterious. πŸ•ΆοΈ
  • 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.

πŸ¦‹ Friends πŸ¦‹

These are the friend classes, exactly as written. VIP pass energy only. πŸ’…

  • class LocalSCMatrix β€” friend.
  • class LocalSymmSCMatrix β€” friend.
  • class LocalDiagSCMatrix β€” friend.

🌈 Additional Inherited Members 🌈

Yep, this heading is here. The page doesn't list anything else under it before the docs start. Moving on, bestie. 🫢

πŸ’… Member Function Documentation πŸ’…

πŸŒ€ sc::LocalSCVector::local_blocks πŸŒ€

Ref<SCMatrixSubblockIter> sc::LocalSCVector::local_blocks (SCMatrixSubblockIter::Access) [virtual]

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

Access rule, no cap: only one iterator is allowed for a matrix when 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. Slay. πŸ€–πŸ’–


Cute sign-off: Version 2.3.1, dated Sun Oct 4 2020. Byeee, bestie πŸ’Œβœ¨

πŸ“¦ where this page comes from