MOOCHO (Single Doxygen Collection) Version of the Day
Public Member Functions
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:
Inheritance graph
[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 51 of file AbstractLinAlgPack_MatrixSymInitDiag.hpp.


Constructor & Destructor Documentation

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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines