sc::DistSCVector(3)

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

🌸 NAME 🌸

sc::DistSCVector(3) β€” bestie, this is the manual page for the sc::DistSCVector class. That's the NAME, and it's giving main-character energy already. πŸ’–

✨ SYNOPSIS ✨

Inherits sc::SCVector. Periodt. 🫢

πŸ’– Public Member Functions πŸ’–

Real talk: where the page gives a description, I'm keeping it; where it doesn't, I'm not inventing lore β€” just the exact signature. πŸ’…

  • DistSCVector (const RefSCDimension &, DistSCMatrixKit *)
  • void assign_p (const double *)
  • void assign_v (SCVector *a)
  • void convert (double *v) const β€” assign v[i] to element i for all i.
  • void convert (SCVector *) β€” convert an SCVector of a different specialization to this specialization and possibly accumulate the data.
  • 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 (const SCVector *) β€” sum v into this.
  • void accumulate (const SCMatrix *m) β€” sum m into this. One of m's dimensions must be 1.
  • double scalar_product (SCVector *) β€” return the dot product.
  • void accumulate_product_rv (SCMatrix *, SCVector *)
  • void element_op (const Ref< SCElementOp > &) β€” perform the element operation op on each element of this.
  • void element_op (const Ref< SCElementOp2 > &, SCVector *)
  • void element_op (const Ref< SCElementOp3 > &, SCVector *, SCVector *)
  • void vprint (const char *title=0, std::ostream &out=ExEnv::out0(), int=10) const
  • 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.
  • Ref< DistSCMatrixKit > skit ()

πŸ›‘οΈ Protected Member Functions πŸ›‘οΈ

No extra blurbs on these in the page β€” exact signatures only, no cap. πŸŽ€

  • void init_blocklist ()
  • double * find_element (int i) const
  • int element_to_node (int i) const
  • int block_to_node (int) const
  • Ref< SCMatrixBlock > block_to_block (int) const
  • void error (const char *)

🧸 Protected Attributes 🧸

  • Ref< SCMatrixBlockList > blocklist β€” the protected attribute, exactly as listed.

🫢 Friends 🫢

  • class DistSCMatrix
  • class DistSymmSCMatrix
  • class DistDiagSCMatrix

πŸ“š Member Function Documentation πŸ“š

πŸ¦‹ Ref<SCMatrixSubblockIter> sc::DistSCVector::local_blocks (SCMatrixSubblockIter::Access) [virtual] πŸ¦‹

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

⚠️ Exact caveat from the page: "Only one iterator is allowed for a matrix is it has Accum or Write access is allowed. Multiple Read iterators are permitted." That wording is doing the absolute most, but the rule matters. πŸ’€

Implements sc::SCVector.

πŸ“ Author πŸ“

Generated automatically by Doxygen for MPQC from the source code.


MPQC version 2.3.1, dated Sun Oct 4 2020 β€” that's the source/version and date sign-off from the footer, bestie. Bye, slay, and may your blocks stay local and rapidly accessible. πŸ’…βœ¨πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from