48 namespace AbstractLinAlgPack {
63 if(&m ==
this)
return *
this;
71 true, std::invalid_argument
72 ,
"MatrixSymDiagSparseStd::operator=(const MatrixOp& m) : Error!"
73 "The concrete type of m = \'" <<
typeName(m) <<
"\' is not a subclass of "
74 "MatrixSymDiagSparseStd as expected"
std::string typeName(const T &t)
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
MatrixOp & operator=(const MatrixOp &m)
MatrixSymDiagSparseStd()
Construct uninitialized.
void initialize(const SpVectorSlice &diag)
Reinitialize the diagonal.
const SpVectorSlice diag() const
Base class for all matrices that support basic matrix operations.
Concrete subclass for a serial symmetric diagonal matrix with many zeros on the diagonal.