CAPD RedHom Library
|
#include <capd/homAux/MultiArrayIndexer.h>
Classes | |
struct | MakeIndex |
Public Types | |
typedef Base::Coordinates | Coordinates |
typedef boost::transformed_range< MakeIndex, boost::iterator_range< const impl::IndexValue * > > | AllIndices |
typedef boost::multi_array_ref< impl::IndexValue, DIM > | Indexer |
typedef Indexer::element::value_type | value_type |
typedef value_type | Value |
typedef Indexer::index | Index |
typedef Indexer::index_gen | IndexGen |
typedef IndexGen::template gen_type< DIM, DIM >::type | IndexGenFull |
typedef Indexer::index_range | IndexRange |
typedef Indexer::size_type | SizeType |
Public Member Functions | |
template<typename Shape > | |
MultiArrayIndexer (const Shape &shape) | |
Coordinates | coordinatesOf (typename Base::SizeType pos) const |
template<typename Coordinates > | |
void | coordinatesOf (typename Base::SizeType pos, Coordinates &coordinates) const |
template<typename Indices > | |
Base::Index | offset (const Indices &indices) const |
AllIndices | allIndices () const |
SizeType | size () const |
boost::iterator_range< const SizeType * > | shape () const |
boost::iterator_range< const Index * > | strides () const |
SizeType | dim () const |
IndexGen | indices () const |
IndexRange | range () const |
IndexRange | range (Index b, Index e) const |
Value | operator() (const Indices &indices) const |
Value | operator() (std::initializer_list< Index > indices) const |
bool | isInside (const Indices &indices) const |
bool | isValid (const Indices &indices) const |
View< NDims >::type | operator[] (const boost::detail::multi_array::index_gen< DIM, NDims > &indices) const |
void | forEach (Function f) const |
void | apply (const Ranges &ranges, Function function) const |
void | all (Callback cb, typename boost::result_of< Callback(Value, const Coordinates &)>::type *p=0) const |
void | all (Callback cb, typename boost::result_of< Callback(Value)>::type *p=0) const |
Static Public Attributes | |
static const std::size_t | DIM |
Protected Attributes | |
Indexer | _indexer |
typedef boost::transformed_range<MakeIndex, boost::iterator_range<const impl::IndexValue *> > capd::homAux::MultiArrayIndexer< DIM >::AllIndices |
typedef Base::Coordinates capd::homAux::MultiArrayIndexer< DIM >::Coordinates |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineexplicit |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
staticinherited |