42 #ifndef MATRIX_SYM_INIT_DIAGONAL_H
43 #define MATRIX_SYM_INIT_DIAGONAL_H
47 namespace AbstractLinAlgPack {
67 #endif // MATRIX_SYM_INIT_DIAGONAL_H
Mix-in Interface for setting a matrix to a diagonal {abstract}.
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
RTOp_value_type value_type
Abstract interface for objects that represent a space for mutable coordinate vectors.
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 ~MatrixSymInitDiag()
virtual void init_diagonal(const Vector &diag)=0
Initialize an n x n diagonal matrix (where n = diag.dim()).