AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects
Version of the Day
|
Mix-in Interface for setting a matrix to a diagonal {abstract}. More...
#include <AbstractLinAlgPack_MatrixSymInitDiag.hpp>
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... | |
Mix-in Interface for setting a matrix to a diagonal {abstract}.
Definition at line 51 of file AbstractLinAlgPack_MatrixSymInitDiag.hpp.
|
inlinevirtual |
Definition at line 55 of file AbstractLinAlgPack_MatrixSymInitDiag.hpp.
|
pure virtual |
Initialize a n x n
identity matrix scaled by alpha
(where n = diag.dim()
).
Implemented in AbstractLinAlgPack::MatrixSymDiagStd.
|
pure virtual |
Initialize an n x n
diagonal matrix (where n = diag.dim()
).
Implemented in AbstractLinAlgPack::MatrixSymDiagStd.