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);
301 size_t rows(
void)
const;
329 typedef boost::shared_ptr<const utility::Matrix> MatrixP;
334 bool validate(
void)
const;
342 std::ostream& operator<< (std::ostream& s,
const MatrixLookup&);
General view into utility::Matrix.
Definition: MatrixLookup.h:70
size_t columns(void) const
const double & const_reference
Definition: Matrix.h:85
const_iterator begin(void) const
const_iterator end(void) const
bool weighted(void) const
const MatrixLookup & operator=(const MatrixLookup &)
assigment operator
virtual ~MatrixLookup()
Destructor.
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:71
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:105
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:63
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