MPQC 2.3.1
Public Member Functions | Static Public Member Functions | Protected Attributes
sc::SCMatrixKit Class Reference

The SCMatrixKit abstract class acts as a factory for producing matrices. More...

#include <abstract.h>

Inheritance diagram for sc::SCMatrixKit:
sc::DescribedClass sc::RefCount sc::Identity sc::BlockedSCMatrixKit sc::DistSCMatrixKit sc::LocalSCMatrixKit sc::ReplSCMatrixKit

List of all members.

Public Member Functions

 SCMatrixKit (const Ref< KeyVal > &)
Ref< MessageGrpmessagegrp () const
virtual SCMatrixmatrix (const RefSCDimension &, const RefSCDimension &)=0
 Given the dimensions, create matrices or vectors.
virtual SymmSCMatrixsymmmatrix (const RefSCDimension &)=0
virtual DiagSCMatrixdiagmatrix (const RefSCDimension &)=0
virtual SCVectorvector (const RefSCDimension &)=0
SCMatrixrestore_matrix (StateIn &, const RefSCDimension &, const RefSCDimension &)
 Given the dimensions and a StateIn object, restore matrices or vectors.
SymmSCMatrixrestore_symmmatrix (StateIn &, const RefSCDimension &)
DiagSCMatrixrestore_diagmatrix (StateIn &, const RefSCDimension &)
SCVectorrestore_vector (StateIn &, const RefSCDimension &)

Static Public Member Functions

static SCMatrixKitdefault_matrixkit ()
 This returns a LocalSCMatrixKit, unless the default has been changed with set_default_matrixkit.
static void set_default_matrixkit (const Ref< SCMatrixKit > &)

Protected Attributes

Ref< MessageGrpgrp_

Detailed Description

The SCMatrixKit abstract class acts as a factory for producing matrices.

By using one of these, the program makes sure that all of the matrices are consistent.


Member Function Documentation

static SCMatrixKit* sc::SCMatrixKit::default_matrixkit ( ) [static]

This returns a LocalSCMatrixKit, unless the default has been changed with set_default_matrixkit.

SCMatrix* sc::SCMatrixKit::restore_matrix ( StateIn ,
const RefSCDimension ,
const RefSCDimension  
)

Given the dimensions and a StateIn object, restore matrices or vectors.


The documentation for this class was generated from the following file:

Generated at Wed Jan 18 2012 03:28:20 for MPQC 2.3.1 using the documentation package Doxygen 1.7.4.