LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
A template meta-sequence that defines an arbitrary view into an unspecified array. More...
#include <views.h>
Public Types | |
typedef Seq_ | Sequence |
A boost::fusion sequence type. More... | |
typedef View< typename boost::fusion::result_of::push_back < Sequence const, index::Full > ::type > | Full |
The View that results from chaining an full dimension index () to this. More... | |
typedef View< typename boost::fusion::result_of::push_back < Sequence const, index::Range > ::type > | Range |
The View that results from chaining a range (start,stop) to this. More... | |
typedef View< typename boost::fusion::result_of::push_back < Sequence const, index::Slice > ::type > | Slice |
The View that results from chaining a slice (start,stop,step) to this. More... | |
typedef View< typename boost::fusion::result_of::push_back < Sequence const, index::Scalar >::type > | Scalar |
The View that results from chaining a scalar (n) to this. More... | |
Public Member Functions | |
View (Sequence seq) | |
template<typename OtherSequence > | |
View (OtherSequence const &other) | |
template<typename OtherSequence > | |
View (View< OtherSequence > const &other) | |
Full | operator() () const |
Chain the full next dimension to this. More... | |
Range | operator() (int start, int stop) const |
Chain a contiguous range of the next dimension to this. More... | |
Slice | operator() (int start, int stop, int step) const |
Chain a noncontiguous slice of the next dimension to this. More... | |
Scalar | operator() (int n) const |
Chain a single element of the next dimension to this. More... | |
Public Attributes | |
Sequence | _seq |
A boost::fusion sequence of index objects. More... | |
A template meta-sequence that defines an arbitrary view into an unspecified array.
A View is constructed from a call to the global view() function and subsequent chained calls to operator().
typedef View<typename boost::fusion::result_of::push_back<Sequence const,index::Full>::type> ndarray::View< Seq_ >::Full |
typedef View<typename boost::fusion::result_of::push_back<Sequence const,index::Range>::type> ndarray::View< Seq_ >::Range |
typedef View<typename boost::fusion::result_of::push_back<Sequence const,index::Scalar>::type> ndarray::View< Seq_ >::Scalar |
typedef Seq_ ndarray::View< Seq_ >::Sequence |
typedef View<typename boost::fusion::result_of::push_back<Sequence const,index::Slice>::type> ndarray::View< Seq_ >::Slice |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
Chain the full next dimension to this.
Definition at line 109 of file views.h.
|
inline |
Chain a contiguous range of the next dimension to this.
Definition at line 112 of file views.h.
|
inline |
Chain a noncontiguous slice of the next dimension to this.
Definition at line 117 of file views.h.
|
inline |
Chain a single element of the next dimension to this.
Definition at line 122 of file views.h.
Sequence ndarray::View< Seq_ >::_seq |