42 #ifndef MATRIX_WITH_OP_CONCRETE_ENCAP_H
43 #define MATRIX_WITH_OP_CONCRETE_ENCAP_H
45 #include "AbstractLinAlgPack_MatrixOp.hpp"
47 namespace AbstractLinAlgPack {
87 size_type
rows()
const;
90 size_type
cols()
const;
117 if(&m ==
this)
return *
this;
123 throw std::invalid_argument(
"MatrixWithOpConcreteEncap<M>::operator=(const MatrixOp& m)"
124 " : The concrete type of m is not a subclass of MatrixWithOpConcreteEncap<M> as expected" );
131 #endif // MATRIX_WITH_OP_CONCRETE_ENCAP_H
MatrixOp & operator=(const MatrixOp &m)
MatrixWithOpConcreteEncap(const M &m)
This constructor will have to be overridden.
MatrixWithOpConcreteEncap()
The compiler did not generate this default constructor.
Base class for all matrices that support basic matrix operations.
This template class defines the storage for a concrete matrix class that operations are based on...
M & m()
Get the underlying M object.