3 #include <boost/numeric/ublas/matrix_expression.hpp>
12 template <
typename MatrixType,
typename ModifierType>
13 class matrix_modified:
public boost::numeric::ublas::matrix_expression <matrix_modified <MatrixType, ModifierType> >
22 typedef typename MatrixType::const_reference
reference;
94 return _modifier(i, j, _data(i, j));
Definition: matrix_modified.hpp:14
ModifierType modifier_type
Definition: matrix_modified.hpp:27
MatrixType & data()
Definition: matrix_modified.hpp:70
size_type size1() const
Definition: matrix_modified.hpp:52
MatrixType::const_reference const_reference
Definition: matrix_modified.hpp:21
const self_type const_closure_type
Definition: matrix_modified.hpp:24
MatrixType::size_type size_type
Definition: matrix_modified.hpp:18
MatrixType::const_reference reference
Definition: matrix_modified.hpp:22
MatrixType matrix_type
Definition: matrix_modified.hpp:17
self_type closure_type
Definition: matrix_modified.hpp:25
MatrixType::difference_type difference_type
Definition: matrix_modified.hpp:19
matrix_modified< MatrixType, ModifierType > self_type
Definition: matrix_modified.hpp:16
size_type size2() const
Definition: matrix_modified.hpp:61
ModifierType::value_type value_type
Definition: matrix_modified.hpp:20
modifier_type & modifier()
Definition: matrix_modified.hpp:79
MatrixType::const_closure_type matrix_closure_type
Definition: matrix_modified.hpp:23
value_type operator()(size_type i, size_type j) const
Definition: matrix_modified.hpp:92
matrix_modified(const MatrixType &matrix, modifier_type &modifier)
Definition: matrix_modified.hpp:42
Definition: algorithm.hpp:14