$extrastylesheet
#include <mln/histo/array.hh>
Public Member Functions | |
array () | |
array (const array &other) | |
void | clear () |
unsigned | nvalues () const |
unsigned | operator() (const T &v) const |
unsigned & | operator() (const T &v) |
array & | operator= (const array &other) |
unsigned | operator[] (unsigned i) const |
unsigned & | operator[] (unsigned i) |
const std::vector< unsigned > & | vect () const |
const mln::value::set< T > & | vset () const |
Protected Attributes | |
std::vector< unsigned > | h_ |
const mln::value::set< T > & | s_ |
Public Types | |
typedef T | value |
Generic histogram class over a value set with type T
.
Definition at line 56 of file histo/array.hh.
mln::histo::array< T >::array | ( | ) |
mln::histo::array< T >::array | ( | const array< T > & | other | ) |
void mln::histo::array< T >::clear | ( | ) |
unsigned mln::histo::array< T >::nvalues | ( | ) | const |
unsigned mln::histo::array< T >::operator() | ( | const T & | v | ) | const |
unsigned& mln::histo::array< T >::operator() | ( | const T & | v | ) |
array& mln::histo::array< T >::operator= | ( | const array< T > & | other | ) |
unsigned mln::histo::array< T >::operator[] | ( | unsigned | i | ) | const |
unsigned& mln::histo::array< T >::operator[] | ( | unsigned | i | ) |
const std::vector<unsigned>& mln::histo::array< T >::vect | ( | ) | const |
const mln::value::set<T>& mln::histo::array< T >::vset | ( | ) | const |
|
protected |
Definition at line 80 of file histo/array.hh.
|
protected |
Definition at line 79 of file histo/array.hh.
typedef T mln::histo::array< T >::value |
Definition at line 58 of file histo/array.hh.