.TH "sc::SCMatrixBlock" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::SCMatrixBlock \- \fBSCMatrixBlock\fP is the base clase for all types of blocks that comprise matrices and vectors\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::SavableState\fP\&. .PP Inherited by \fBsc::SCMatrixDiagBlock\fP, \fBsc::SCMatrixDiagSubBlock\fP, \fBsc::SCMatrixLTriBlock\fP, \fBsc::SCMatrixLTriSubBlock\fP, \fBsc::SCMatrixRectBlock\fP, \fBsc::SCMatrixRectSubBlock\fP, \fBsc::SCVectorSimpleBlock\fP, and \fBsc::SCVectorSimpleSubBlock\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBSCMatrixBlock\fP (\fBStateIn\fP &s)" .br .ti -1c .RI "void \fBsave_data_state\fP (\fBStateOut\fP &s)" .br .RI "Save the base classes (with save_data_state) and the members in the same order that the \fBStateIn\fP CTOR initializes them\&. " .ti -1c .RI "virtual \fBSCMatrixBlock\fP * \fBdeepcopy\fP () const" .br .RI "Return of copy of this\&. " .ti -1c .RI "virtual double * \fBdat\fP ()" .br .RI "Return a pointer to the block's data and the number of elements in the block\&. " .ti -1c .RI "virtual int \fBndat\fP () const" .br .ti -1c .RI "virtual void \fBprocess\fP (\fBSCElementOp\fP *)=0" .br .ti -1c .RI "virtual void \fBprocess\fP (\fBSCElementOp2\fP *, \fBSCMatrixBlock\fP *)=0" .br .ti -1c .RI "virtual void \fBprocess\fP (\fBSCElementOp3\fP *, \fBSCMatrixBlock\fP *, \fBSCMatrixBlock\fP *)=0" .br .in -1c .SS "Public Attributes" .in +1c .ti -1c .RI "int \fBblocki\fP" .br .ti -1c .RI "int \fBblockj\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP \fBSCMatrixBlock\fP is the base clase for all types of blocks that comprise matrices and vectors\&. .SH "Member Function Documentation" .PP .SS "virtual double* sc::SCMatrixBlock::dat ()\fC [virtual]\fP" .PP Return a pointer to the block's data and the number of elements in the block\&. Some blocks cannot provide this information and a runtime error will be generated if these members are called\&. These routines are only used internally in the matrix library\&. .PP Reimplemented in \fBsc::SCMatrixDiagBlock\fP, \fBsc::SCMatrixLTriBlock\fP, \fBsc::SCMatrixRectBlock\fP, and \fBsc::SCVectorSimpleBlock\fP\&. .SS "virtual \fBSCMatrixBlock\fP* sc::SCMatrixBlock::deepcopy () const\fC [virtual]\fP" .PP Return of copy of this\&. A runtime error will be generated for blocks that cannot do a deepcopy\&. These routines are only used internally in the matrix library\&. .PP Reimplemented in \fBsc::SCMatrixDiagBlock\fP, \fBsc::SCMatrixLTriBlock\fP, \fBsc::SCMatrixRectBlock\fP, and \fBsc::SCVectorSimpleBlock\fP\&. .SS "void sc::SCMatrixBlock::save_data_state (\fBStateOut\fP &)\fC [virtual]\fP" .PP Save the base classes (with save_data_state) and the members in the same order that the \fBStateIn\fP CTOR initializes them\&. This must be implemented by the derived class if the class has data\&. .PP Reimplemented from \fBsc::SavableState\fP\&. .PP Reimplemented in \fBsc::SCMatrixDiagSubBlock\fP, \fBsc::SCMatrixDiagBlock\fP, \fBsc::SCMatrixLTriSubBlock\fP, \fBsc::SCMatrixLTriBlock\fP, \fBsc::SCMatrixRectSubBlock\fP, \fBsc::SCMatrixRectBlock\fP, \fBsc::SCVectorSimpleSubBlock\fP, and \fBsc::SCVectorSimpleBlock\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.