sc::DistSCVector(3)
πΈ 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β assignv[i]to elementifor alli.void convert (SCVector *)β convert anSCVectorof a different specialization to this specialization and possibly accumulate the data.void set_element (int, double)β set elementitoval.void accumulate_element (int, double)β addvalto elementi.double get_element (int) constβ return the value of elementi.void accumulate (const SCVector *)β sumvinto this.void accumulate (const SCMatrix *m)β summinto this. One ofm's dimensions must be1.double scalar_product (SCVector *)β return the dot product.void accumulate_product_rv (SCMatrix *, SCVector *)void element_op (const Ref< SCElementOp > &)β perform the element operationopon 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) constRef< 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) constint element_to_node (int i) constint block_to_node (int) constRef< SCMatrixBlock > block_to_block (int) constvoid error (const char *)
π§Έ Protected Attributes π§Έ
Ref< SCMatrixBlockList > blocklistβ the protected attribute, exactly as listed.
π«Ά Friends π«Ά
class DistSCMatrixclass DistSymmSCMatrixclass 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 hasAccumorWriteaccess is allowed. MultipleReaditerators 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
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms