|
| BlockRange ()=default |
|
| BlockRange (const BlockRange &)=default |
|
| BlockRange (BlockRange &&)=default |
|
| ~BlockRange ()=default |
|
BlockRange & | operator= (const BlockRange &)=default |
|
BlockRange & | operator= (BlockRange &&)=default |
|
template<typename Index > |
| BlockRange (const Range &range, const Index &lower_bound, const Index &upper_bound) |
|
| BlockRange (const Range &range, const std::initializer_list< size_type > &lower_bound, const std::initializer_list< size_type > &upper_bound) |
|
template<typename Index , typename std::enable_if<! std::is_integral< Index >::value >::type * = nullptr> |
ordinal_type | ordinal (const Index &index) const |
| calculate the ordinal index of i More...
|
|
template<typename... Index, typename std::enable_if<(sizeof...(Index) > 1ul> |
ordinal_type | ordinal (const Index &... index) const |
|
ordinal_type | ordinal (ordinal_type index) const |
| calculate the coordinate index of the ordinal index, index . More...
|
|
template<typename Index > |
BlockRange & | resize (const Index &, const Index &) |
| Resize of block range is not supported. More...
|
|
template<typename Index > |
Range_ & | inplace_shift (const Index &) |
| Shift the lower and upper bound of this range. More...
|
|
template<typename Index > |
Range_ | shift (const Index &) |
| Shift the lower and upper bound of this range. More...
|
|
void | swap (BlockRange &other) |
|
template<typename Archive > |
void | serialize (const Archive &ar) const |
| Serialization Block range. More...
|
|
| Range () |
| Default constructor. More...
|
|
template<typename Index , typename std::enable_if<! std::is_integral< Index >::value >::type * = nullptr> |
| Range (const Index &lower_bound, const Index &upper_bound) |
| Construct range defined by upper and lower bound sequences. More...
|
|
template<typename Index1 , typename std::enable_if< std::is_integral< Index1 >::value >::type * = nullptr> |
| Range (const std::initializer_list< Index1 > &lower_bound, const std::initializer_list< Index1 > &upper_bound) |
| Construct range defined by the upper and lower bound sequences. More...
|
|
template<typename Index , typename std::enable_if<! std::is_integral< Index >::value &&std::is_integral< typename Index::value_type >::value >::type * = nullptr> |
| Range (const Index &extent) |
| Range constructor from a sequence of extents. More...
|
|
template<typename Index1 , typename std::enable_if< std::is_integral< Index1 >::value >::type * = nullptr> |
| Range (const std::initializer_list< Index1 > &extent) |
| Range constructor from an initializer list of extents. More...
|
|
template<typename Index , typename std::enable_if<! std::is_integral< Index >::value &&detail::is_pair< typename Index::value_type >::value >::type * = nullptr> |
| Range (const Index &bounds) |
| Construct range defined by a sequence of {lower,upper} bound pairs. More...
|
|
template<typename Index1 , typename Index2 > |
| Range (const std::initializer_list< std::pair< Index1, Index2 >> &bounds) |
| Construct range defined by an initializer_list of {lower,upper} bound pairs. More...
|
|
template<typename... Index, typename std::enable_if< detail::is_integral_list< Index... >::value >::type * = nullptr> |
| Range (const Index... extents) |
| Range constructor from a pack of extents for each dimension. More...
|
|
template<typename ... IndexPairs, typename std::enable_if< detail::is_integral_pair_list< IndexPairs... >::value >::type * = nullptr> |
| Range (const IndexPairs... bounds) |
| Range constructor from a pack of {lo,up} bounds for each dimension. More...
|
|
| Range (const Range_ &other) |
| Copy Constructor. More...
|
|
| Range (Range_ &&other) |
| Copy Constructor. More...
|
|
| Range (const Permutation &perm, const Range_ &other) |
| Permuting copy constructor. More...
|
|
| ~Range () |
| Destructor. More...
|
|
Range_ & | operator= (const Range_ &other) |
| Copy assignment operator. More...
|
|
Range_ & | operator= (Range_ &&other) |
| Move assignment operator. More...
|
|
unsigned int | rank () const |
| Rank accessor. More...
|
|
const size_type * | lobound_data () const |
| Range lower bound data accessor. More...
|
|
size_array | lobound () const |
| Range lower bound accessor. More...
|
|
size_type | lobound (size_t dim) const |
| Range lower bound element accessor. More...
|
|
const size_type * | upbound_data () const |
| Range upper bound data accessor. More...
|
|
size_array | upbound () const |
| Range upper bound accessor. More...
|
|
size_type | upbound (size_t dim) const |
| Range upped bound element accessor. More...
|
|
const size_type * | extent_data () const |
| Range extent data accessor. More...
|
|
extent_type | extent () const |
| Range extent accessor. More...
|
|
size_type | extent (size_t dim) const |
| Range extent element accessor. More...
|
|
const size_type * | stride_data () const |
| Range stride data accessor. More...
|
|
size_array | stride () const |
| Range stride accessor. More...
|
|
size_type | stride (size_t dim) const |
| Range stride element accessor. More...
|
|
ordinal_type | volume () const |
| Range volume accessor. More...
|
|
ordinal_type | area () const |
|
ordinal_type | offset () const |
| Range offset. More...
|
|
const_iterator | begin () const |
| Index iterator factory. More...
|
|
const_iterator | end () const |
| Index iterator factory. More...
|
|
template<typename Index , typename std::enable_if<! std::is_integral< Index >::value, bool >::type * = nullptr> |
bool | includes (const Index &index) const |
| Check the coordinate to make sure it is within the range. More...
|
|
template<typename Integer > |
bool | includes (const std::initializer_list< Integer > &index) const |
| Check the coordinate to make sure it is within the range. More...
|
|
template<typename Ordinal > |
std::enable_if< std::is_integral< Ordinal >::value, bool >::type | includes (Ordinal i) const |
| Check the ordinal index to make sure it is within the range. More...
|
|
template<typename... Index> |
std::enable_if<(sizeof...(Index) > 1ul), size_type >::type | includes (const Index &... index) const |
|
Range_ & | operator*= (const Permutation &perm) |
| Permute this range. More...
|
|
template<typename Index > |
Range_ & | resize (const Index &lower_bound, const Index &upper_bound) |
| Resize range to a new upper and lower bound. More...
|
|
template<typename Index > |
Range_ & | inplace_shift (const Index &bound_shift) |
| Shift the lower and upper bound of this range. More...
|
|
template<typename Index > |
Range_ | shift (const Index &bound_shift) |
| Shift the lower and upper bound of this range. More...
|
|
ordinal_type | ordinal (const ordinal_type index) const |
| calculate the ordinal index of i More...
|
|
template<typename Index , typename std::enable_if<! std::is_integral< Index >::value >::type * = nullptr> |
ordinal_type | ordinal (const Index &index) const |
| calculate the ordinal index of index More...
|
|
template<typename... Index, typename std::enable_if<(sizeof...(Index) > 1ul> |
size_type | ordinal (const Index &... index) const |
| calculate the ordinal index of index More...
|
|
index | idx (size_type index) const |
| calculate the coordinate index of the ordinal index, index . More...
|
|
template<typename Index , typename std::enable_if<! std::is_integral< Index >::value >::type * = nullptr> |
const Index & | idx (const Index &i) const |
| calculate the index of i More...
|
|
template<typename Archive , typename std::enable_if< madness::archive::is_input_archive< Archive >::value >::type * = nullptr> |
void | serialize (const Archive &ar) |
|
template<typename Archive , typename std::enable_if< madness::archive::is_output_archive< Archive >::value >::type * = nullptr> |
void | serialize (const Archive &ar) const |
|
void | swap (Range_ &other) |
|
Range that references a subblock of another range.
Definition at line 34 of file block_range.h.