42 #include "AbstractLinAlgPack_MatrixSymDiagSparseStd.hpp" 43 #include "AbstractLinAlgPack_SpVectorOut.hpp" 44 #include "DenseLinAlgPack_DVectorClass.hpp" 45 #include "DenseLinAlgPack_AssertOp.hpp" 46 #include "Teuchos_Assert.hpp" 63 if(&m ==
this)
return *
this;
70 TEUCHOS_TEST_FOR_EXCEPTION(
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"
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.