logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sc::SCMatrixBlock - SCMatrixBlock is the base clase for all types of blocks that comprise matrices and

Author

       Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1                                    Sun Oct 4 2020                             sc::SCMatrixBlock(3)

Detailed Description

SCMatrixBlock is the base clase for all types of blocks that comprise matrices and vectors.

Member Function Documentation

virtualdouble*sc::SCMatrixBlock::dat()[virtual]
       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.

       Reimplemented in sc::SCMatrixDiagBlock, sc::SCMatrixLTriBlock, sc::SCMatrixRectBlock, and
       sc::SCVectorSimpleBlock.

   virtualSCMatrixBlock*sc::SCMatrixBlock::deepcopy()const[virtual]
       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.

       Reimplemented in sc::SCMatrixDiagBlock, sc::SCMatrixLTriBlock, sc::SCMatrixRectBlock, and
       sc::SCVectorSimpleBlock.

   voidsc::SCMatrixBlock::save_data_state(StateOut&)[virtual]
       Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR
       initializes them. This must be implemented by the derived class if the class has data.

       Reimplemented from sc::SavableState.

       Reimplemented in sc::SCMatrixDiagSubBlock, sc::SCMatrixDiagBlock, sc::SCMatrixLTriSubBlock,
       sc::SCMatrixLTriBlock, sc::SCMatrixRectSubBlock, sc::SCMatrixRectBlock, sc::SCVectorSimpleSubBlock, and
       sc::SCVectorSimpleBlock.

Name

       sc::SCMatrixBlock - SCMatrixBlock is the base clase for all types of blocks that comprise matrices and
       vectors.

Synopsis

       #include <block.h>

       Inherits sc::SavableState.

       Inherited by sc::SCMatrixDiagBlock, sc::SCMatrixDiagSubBlock, sc::SCMatrixLTriBlock,
       sc::SCMatrixLTriSubBlock, sc::SCMatrixRectBlock, sc::SCMatrixRectSubBlock, sc::SCVectorSimpleBlock, and
       sc::SCVectorSimpleSubBlock.

   PublicMemberFunctionsSCMatrixBlock (StateIn &s)
       void save_data_state (StateOut &s)
           Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR
           initializes them.
       virtual SCMatrixBlock * deepcopy () const
           Return of copy of this.
       virtual double * dat ()
           Return a pointer to the block's data and the number of elements in the block.
       virtual int ndat () const
       virtual void process (SCElementOp *)=0
       virtual void process (SCElementOp2 *, SCMatrixBlock *)=0
       virtual void process (SCElementOp3 *, SCMatrixBlock *, SCMatrixBlock *)=0

   PublicAttributes
       int blocki
       int blockjAdditionalInheritedMembers

See Also