1 #ifndef _theplu_yat_classifier_matrix_lookup_ 2 #define _theplu_yat_classifier_matrix_lookup_ 28 #include "yat/utility/Container2DIterator.h" 30 #include "yat/utility/Index.h" 31 #include "yat/utility/iterator_traits.h" 32 #include "yat/utility/Matrix.h" 34 #include <boost/iterator/permutation_iterator.hpp> 35 #include <boost/shared_ptr.hpp> 42 namespace classifier {
159 const bool row_vectors) YAT_DEPRECATE;
227 const bool row_vectors);
276 const_row_iterator
begin_row(
size_t)
const;
296 const_row_iterator
end_row(
size_t)
const;
301 size_t rows(
void)
const;
313 const_reference
operator()(
size_t row,
size_t column)
const;
323 const MatrixLookup&
operator=(
const MatrixLookup&);
329 typedef boost::shared_ptr<const utility::Matrix> MatrixP;
334 bool validate(
void)
const;
General view into utility::Matrix.
Definition: MatrixLookup.h:70
size_t columns(void) const
const double & const_reference
Definition: Matrix.h:96
const_iterator begin(void) const
const_iterator end(void) const
The Department of Theoretical Physics namespace as we define it.
bool weighted(void) const
const MatrixLookup & operator=(const MatrixLookup &)
assigment operator
virtual ~MatrixLookup()
Destructor.
std::ostream & operator<<(std::ostream &s, const MatrixLookup &)
const_row_iterator end_row(size_t) const
const_reference operator()(size_t row, size_t column) const
MatrixLookup(const utility::Matrix &matrix, const bool own=false)
utility::Matrix::value_type value_type
Definition: MatrixLookup.h:78
utility::Matrix::const_reference const_reference
Definition: MatrixLookup.h:85
double value_type
Definition: Matrix.h:82
Class for storing indices of, e.g., a MatrixLookup.
Definition: Index.h:41
Iterator for a Container2D.
Definition: Container2DIterator.h:61
const_row_iterator begin_row(size_t) const
General view into utility::MatrixWeighted.
Definition: MatrixLookupWeighted.h:63
boost::permutation_iterator< utility::Matrix::const_column_iterator, utility::Index::const_iterator > const_column_iterator
Definition: MatrixLookup.h:97
StrideIterator< const double * > const_column_iterator
Definition: Matrix.h:116
const_column_iterator const_row_iterator
Definition: MatrixLookup.h:102
const_column_iterator end_column(size_t) const
Interface to GSL matrix.
Definition: Matrix.h:74
const_column_iterator begin_column(size_t) const
utility::Container2DIterator< const MatrixLookup, const double, const_reference > const_iterator
'Read Only' iterator
Definition: MatrixLookup.h:90
std::vector< size_t >::const_iterator const_iterator
Definition: Index.h:49