Public Member Functions | |
ReplDiagSCMatrix (const RefSCDimension &, ReplSCMatrixKit *) | |
void | assign_val (double) |
Overridden to implement the assign members. | |
double | get_element (int) const |
Return or modify an element. | |
void | set_element (int, double) |
void | accumulate_element (int, double) |
void | accumulate (const DiagSCMatrix *) |
double | invert_this () |
Invert this. | |
double | determ_this () |
Return the determinant of this. this is overwritten. | |
double | trace () |
Return the trace. | |
void | gen_invert_this () |
Do a generalized inversion of this. | |
void | element_op (const Ref< SCElementOp > &) |
Perform the element operation op on each element of this. | |
void | element_op (const Ref< SCElementOp2 > &, DiagSCMatrix *) |
void | element_op (const Ref< SCElementOp3 > &, DiagSCMatrix *, DiagSCMatrix *) |
void | vprint (const char *title=0, std::ostream &out=ExEnv::out0(), int=10) const |
double * | get_data () |
Ref< SCMatrixSubblockIter > | local_blocks (SCMatrixSubblockIter::Access) |
Returns iterators for the local (rapidly accessible) blocks used in this matrix. | |
Ref< SCMatrixSubblockIter > | all_blocks (SCMatrixSubblockIter::Access) |
Returns iterators for the all blocks used in this matrix. | |
Ref< ReplSCMatrixKit > | skit () |
Protected Member Functions | |
void | init_blocklist () |
void | before_elemop () |
void | after_elemop () |
Protected Attributes | |
Ref< SCMatrixBlockList > | blocklist |
double * | matrix |
Friends | |
class | ReplSCMatrix |
class | ReplSymmSCMatrix |
class | ReplSCVector |
Ref<SCMatrixSubblockIter> sc::ReplDiagSCMatrix::local_blocks | ( | SCMatrixSubblockIter::Access | ) | [virtual] |
Returns iterators for the local (rapidly accessible) blocks used in this matrix.
Implements sc::DiagSCMatrix.