.TH "sc::DistSCMatrix" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::DistSCMatrix .SH SYNOPSIS .br .PP .PP Inherits \fBsc::SCMatrix\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBDistSCMatrix\fP (const \fBRefSCDimension\fP &, const \fBRefSCDimension\fP &, \fBDistSCMatrixKit\fP *)" .br .ti -1c .RI "double \fBget_element\fP (int, int) const" .br .RI "Return or modify an element\&. " .ti -1c .RI "void \fBset_element\fP (int, int, double)" .br .ti -1c .RI "void \fBaccumulate_element\fP (int, int, double)" .br .ti -1c .RI "\fBSCMatrix\fP * \fBget_subblock\fP (int, int, int, int)" .br .RI "Return a subblock of this\&. " .ti -1c .RI "void \fBassign_subblock\fP (\fBSCMatrix\fP *, int, int, int, int, int=0, int=0)" .br .RI "Assign m to a subblock of this\&. " .ti -1c .RI "void \fBaccumulate_subblock\fP (\fBSCMatrix\fP *, int, int, int, int, int=0, int=0)" .br .RI "Sum m into a subblock of this\&. " .ti -1c .RI "\fBSCVector\fP * \fBget_row\fP (int i)" .br .RI "Return a row or column of this\&. " .ti -1c .RI "\fBSCVector\fP * \fBget_column\fP (int i)" .br .ti -1c .RI "void \fBassign_row\fP (\fBSCVector\fP *v, int i)" .br .RI "Assign v to a row or column of this\&. " .ti -1c .RI "void \fBassign_column\fP (\fBSCVector\fP *v, int i)" .br .ti -1c .RI "void \fBaccumulate_row\fP (\fBSCVector\fP *v, int i)" .br .RI "Sum v to a row or column of this\&. " .ti -1c .RI "void \fBaccumulate_column\fP (\fBSCVector\fP *v, int i)" .br .ti -1c .RI "void \fBaccumulate_outer_product\fP (\fBSCVector\fP *, \fBSCVector\fP *)" .br .RI "Sum into this the products of various vectors or matrices\&. " .ti -1c .RI "void \fBaccumulate_product_rr\fP (\fBSCMatrix\fP *, \fBSCMatrix\fP *)" .br .ti -1c .RI "void \fBaccumulate\fP (const \fBSCMatrix\fP *)" .br .RI "Sum m into this\&. " .ti -1c .RI "void \fBaccumulate\fP (const \fBSymmSCMatrix\fP *)" .br .ti -1c .RI "void \fBaccumulate\fP (const \fBDiagSCMatrix\fP *)" .br .ti -1c .RI "void \fBaccumulate\fP (const \fBSCVector\fP *)" .br .ti -1c .RI "void \fBtranspose_this\fP ()" .br .RI "Transpose this\&. " .ti -1c .RI "double \fBinvert_this\fP ()" .br .RI "Invert this\&. " .ti -1c .RI "double \fBsolve_this\fP (\fBSCVector\fP *)" .br .ti -1c .RI "double \fBdeterm_this\fP ()" .br .RI "Return the determinant of this\&. this is overwritten\&. " .ti -1c .RI "double \fBtrace\fP ()" .br .RI "Return the trace\&. " .ti -1c .RI "void \fBgen_invert_this\fP ()" .br .ti -1c .RI "void \fBschmidt_orthog\fP (\fBSymmSCMatrix\fP *, int)" .br .RI "Schmidt orthogonalize this\&. " .ti -1c .RI "int \fBschmidt_orthog_tol\fP (\fBSymmSCMatrix\fP *, double tol, double *res=0)" .br .RI "Schmidt orthogonalize this\&. " .ti -1c .RI "void \fBelement_op\fP (const \fBRef\fP< \fBSCElementOp\fP > &)" .br .RI "Perform the element operation op on each element of this\&. " .ti -1c .RI "void \fBelement_op\fP (const \fBRef\fP< \fBSCElementOp2\fP > &, \fBSCMatrix\fP *)" .br .ti -1c .RI "void \fBelement_op\fP (const \fBRef\fP< \fBSCElementOp3\fP > &, \fBSCMatrix\fP *, \fBSCMatrix\fP *)" .br .ti -1c .RI "void \fBvprint\fP (const char *title=0, std::ostream &out=\fBExEnv::out0\fP(), int=10)" .br .ti -1c .RI "void \fBvprint\fP (const char *title=0, std::ostream &out=\fBExEnv::out0\fP(), int=10) const" .br .ti -1c .RI "\fBRef\fP< \fBSCMatrixSubblockIter\fP > \fBlocal_blocks\fP (SCMatrixSubblockIter::Access)" .br .RI "Returns iterators for the local (rapidly accessible) blocks used in this matrix\&. " .ti -1c .RI "\fBRef\fP< \fBSCMatrixSubblockIter\fP > \fBall_blocks\fP (SCMatrixSubblockIter::Access)" .br .RI "Returns iterators for the all blocks used in this matrix\&. " .ti -1c .RI "\fBRef\fP< \fBDistSCMatrixKit\fP > \fBskit\fP ()" .br .in -1c .SS "Protected Types" .in +1c .ti -1c .RI "enum \fBVecOp\fP { \fBCopyFromVec\fP, \fBCopyToVec\fP, \fBAccumFromVec\fP, \fBAccumToVec\fP }" .br .ti -1c .RI "enum \fBForm\fP { \fBRow\fP, \fBCol\fP }" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "void \fBinit_blocklist\fP ()" .br .ti -1c .RI "void \fBerror\fP (const char *)" .br .ti -1c .RI "double * \fBfind_element\fP (int i, int j) const" .br .ti -1c .RI "int \fBelement_to_node\fP (int i, int j) const" .br .ti -1c .RI "int \fBblock_to_node\fP (int, int) const" .br .ti -1c .RI "\fBRef\fP< \fBSCMatrixBlock\fP > \fBblock_to_block\fP (int, int) const" .br .ti -1c .RI "\fBRef\fP< \fBSCBlockInfo\fP > \fBrowblocks\fP () const" .br .ti -1c .RI "\fBRef\fP< \fBSCBlockInfo\fP > \fBcolblocks\fP () const" .br .ti -1c .RI "void \fBcreate_vecform\fP (Form, int nvec=\-1)" .br .ti -1c .RI "void \fBdelete_vecform\fP ()" .br .ti -1c .RI "void \fBvecform_op\fP (VecOp op, int *ivec=0)" .br .ti -1c .RI "void \fBvecform_zero\fP ()" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "\fBRef\fP< \fBSCMatrixBlockList\fP > \fBblocklist\fP" .br .ti -1c .RI "int \fBvecoff\fP" .br .ti -1c .RI "int \fBnvec\fP" .br .ti -1c .RI "double ** \fBvec\fP" .br .ti -1c .RI "enum sc::DistSCMatrix::Form \fBform\fP" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "class \fBDistSymmSCMatrix\fP" .br .ti -1c .RI "class \fBDistDiagSCMatrix\fP" .br .ti -1c .RI "class \fBDistSCVector\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Member Function Documentation" .PP .SS "\fBSCMatrix\fP* sc::DistSCMatrix::get_subblock (int br, int er, int bc, int ec)\fC [virtual]\fP" .PP Return a subblock of this\&. The subblock is defined as the rows starting at br and ending at er, and the columns beginning at bc and ending at ec\&. .PP Implements \fBsc::SCMatrix\fP\&. .SS "void sc::DistSCMatrix::schmidt_orthog (\fBSymmSCMatrix\fP *, int n)\fC [virtual]\fP" .PP Schmidt orthogonalize this\&. S is the overlap matrix\&. n is the number of columns to orthogonalize\&. .PP Implements \fBsc::SCMatrix\fP\&. .SS "int sc::DistSCMatrix::schmidt_orthog_tol (\fBSymmSCMatrix\fP *, double tol, double * res = \fC0\fP)\fC [virtual]\fP" .PP Schmidt orthogonalize this\&. S is the overlap matrix\&. tol is the tolerance\&. The number of linearly independent vectors is returned\&. .PP Implements \fBsc::SCMatrix\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.