MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
AbstractLinAlgPack::MatrixSymInitDiag Class Referenceabstract

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

#include <AbstractLinAlgPack_MatrixSymInitDiag.hpp>

Inheritance diagram for AbstractLinAlgPack::MatrixSymInitDiag:
Inheritance graph
[legend]

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()). More...
 
virtual void init_diagonal (const Vector &diag)=0
 Initialize an n x n diagonal matrix (where n = diag.dim()). More...
 

Detailed Description

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

Definition at line 51 of file AbstractLinAlgPack_MatrixSymInitDiag.hpp.

Constructor & Destructor Documentation

virtual AbstractLinAlgPack::MatrixSymInitDiag::~MatrixSymInitDiag ( )
inlinevirtual

Definition at line 55 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: