11 #ifndef OOPS_BASE_DIAGONALMATRIX_H_
12 #define OOPS_BASE_DIAGONALMATRIX_H_
14 #include <boost/noncopyable.hpp>
20 template <
typename VECTOR>
class DiagonalMatrix :
private boost::noncopyable {
25 void multiply(
const VECTOR & v1, VECTOR & v2)
const {
void multiply(const VECTOR &v1, VECTOR &v2) const
void inverseMultiply(const VECTOR &v1, VECTOR &v2) const
DiagonalMatrix(const VECTOR &diag)
The namespace for the main oops code.