AbstractLinAlgPack::MatrixSymInitDiag Class Reference

Mix-in Interface for setting a matrix to a diagonal {abstract}. More...

#include <AbstractLinAlgPack_MatrixSymInitDiag.hpp>

Inheritance diagram for AbstractLinAlgPack::MatrixSymInitDiag:

[legend]
List of all members.

Public Member Functions

virtual ~MatrixSymInitDiag ()
 
virtual void init_identity (const VectorSpace &space_diag, value_type alpha=1.0)=0
 Initialize a n x n identity matrix scaled by alpha (where n = diag.dim()).
virtual void init_diagonal (const Vector &diag)=0
 Initialize an n x n diagonal matrix (where n = diag.dim()).

Detailed Description

Mix-in Interface for setting a matrix to a diagonal {abstract}.

Definition at line 38 of file AbstractLinAlgPack_MatrixSymInitDiag.hpp.


Constructor & Destructor Documentation

virtual AbstractLinAlgPack::MatrixSymInitDiag::~MatrixSymInitDiag (  )  [inline, virtual]

Definition at line 42 of file AbstractLinAlgPack_MatrixSymInitDiag.hpp.


Member Function Documentation

virtual void AbstractLinAlgPack::MatrixSymInitDiag::init_identity ( const VectorSpace space_diag,
value_type  alpha = 1.0 
) [pure virtual]

Initialize a n x n identity matrix scaled by alpha (where n = diag.dim()).

Implemented in AbstractLinAlgPack::MatrixSymDiagStd.

virtual void AbstractLinAlgPack::MatrixSymInitDiag::init_diagonal ( const Vector diag  )  [pure virtual]

Initialize an n x n diagonal matrix (where n = diag.dim()).

Implemented in AbstractLinAlgPack::MatrixSymDiagStd.


The documentation for this class was generated from the following file:
Generated on Tue Oct 20 12:54:04 2009 for MOOCHO (Single Doxygen Collection) by doxygen 1.4.7