|
shards Version of the Day
|
Specialization for an array with Rank = 0. More...
#include <Shards_Array.hpp>
Protected Attributes | |
| Array< value_type, array_order > | m_array |
Friends | |
| class | shards::Array |
Array Attributes | |
| enum | { Rank = 0 } |
| Rank of the array is the number of non-void dimension tags. More... | |
| enum | { Natural = false } |
| If the multidimension follows the natural ordering. More... | |
| enum | { Reverse = false } |
| If the multidimension follows the reverse (Fortran) ordering. More... | |
| enum | { Contiguous = true } |
| If the member data storage is contiguous. More... | |
| typedef Scalar | value_type |
| Type of member data. | |
| typedef array_traits::int_t | size_type |
| Type for sizes. | |
| typedef const ArrayDimTag * | tag_type |
| Type of runtime dimension tags. | |
| size_type | rank () const |
| Rank of the array is the number of non-void dimension tags. | |
| bool | natural () const |
| If the multidimension follows the natural ordering. | |
| bool | reverse () const |
| If the multidimension follows the reverse (Fortran) ordering. | |
| bool | contiguous () const |
| If the member data storage is contiguous. | |
| size_type | size () const |
| Total number of member data items. | |
Array Attributes | |
| enum | |
| Rank of the array is the number of non-void dimension tags. More... | |
| enum | |
| If the multidimension follows the natural ordering. More... | |
| enum | |
| If the multidimension follows the reverse (Fortran) ordering. More... | |
| enum | |
| If the member data storage is contiguous. More... | |
| tag_type | tag (const size_type ordinate) const |
| Access the dimension tag-singleton for a given ordinate. | |
| size_type | dimension () const |
| Dimension of the given ordinate. | |
| void | dimensions (std::vector< iType > &n) |
| Dimensions of all ordinates. | |
Member data access operators | |
| typedef helper::truncate | TruncateType |
| Subarray type that removes the slowest striding dimension (first natural or last fortran ordinate). | |
| TruncateType | truncate (const iType &i) const |
| Generate a subarray view of the array with the slowest striding ordinate offset by i and removed. | |
| value_type & | operator[] (const iType &i) const |
| Access member via offset into contiguous block. | |
Constructors and Assignment Operators | |
| typedef helper::reverse | ReverseType |
| The compatible multidimensional array with reversed multi-index ordering and dimension tags. | |
| Array & | assign (value_type *arg_ptr, const size_type *const dims) |
| Assign pointer and dimensions. | |
| operator const Array< Scalar, array_order > & () const | |
| Return internal runtime implementation of the array. | |
| operator typename Array< Scalar, array_order >::ReverseType () const | |
| Return constructed reversed-ordering array. | |
| void | assign_stride (value_type *arg_ptr, const size_type *arg_stride) |
| Assign stride and pointer. | |
Member data access operators | |
| value_type * | contiguous_data () const |
| Pointer to contiguous block of member data. | |
| value_type & | operator() () const |
| Access member via Rank 0 multi-index. | |
Constructors and Assignment Operators | |
| Array (const Array &rhs) | |
| Array & | operator= (const Array &rhs) |
| Array (value_type *arg_ptr) | |
Specialization for an array with Rank = 0.
Definition at line 4146 of file Shards_Array.hpp.
| typedef Scalar shards::Array< Scalar, RankZero, void, void, void, void, void, void, void, void >::value_type |
Type of member data.
Definition at line 4154 of file Shards_Array.hpp.
| typedef array_traits::int_t shards::Array< Scalar, RankZero, void, void, void, void, void, void, void, void >::size_type |
Type for sizes.
Definition at line 4157 of file Shards_Array.hpp.
| typedef const ArrayDimTag* shards::Array< Scalar, RankZero, void, void, void, void, void, void, void, void >::tag_type |
Type of runtime dimension tags.
Definition at line 4160 of file Shards_Array.hpp.
| typedef helper::truncate shards::Array< Scalar, array_order, void, void, void, void, void, void, void, void >::TruncateType |
Subarray type that removes the slowest striding dimension (first natural or last fortran ordinate).
Definition at line 3712 of file Shards_Array.hpp.
| typedef helper::reverse shards::Array< Scalar, array_order, void, void, void, void, void, void, void, void >::ReverseType |
The compatible multidimensional array with reversed multi-index ordering and dimension tags.
Definition at line 3816 of file Shards_Array.hpp.
| anonymous enum |
Rank of the array is the number of non-void dimension tags.
Definition at line 4165 of file Shards_Array.hpp.
| anonymous enum |
If the multidimension follows the natural ordering.
Definition at line 4168 of file Shards_Array.hpp.
| anonymous enum |
If the multidimension follows the reverse (Fortran) ordering.
Definition at line 4171 of file Shards_Array.hpp.
| anonymous enum |
If the member data storage is contiguous.
Definition at line 4174 of file Shards_Array.hpp.
| anonymous enum |
Rank of the array is the number of non-void dimension tags.
Definition at line 3643 of file Shards_Array.hpp.
| anonymous enum |
If the multidimension follows the natural ordering.
Definition at line 3646 of file Shards_Array.hpp.
| anonymous enum |
If the multidimension follows the reverse (Fortran) ordering.
Definition at line 3649 of file Shards_Array.hpp.
| anonymous enum |
If the member data storage is contiguous.
Definition at line 3652 of file Shards_Array.hpp.
|
inline |
Definition at line 4211 of file Shards_Array.hpp.
|
inline |
Definition at line 4213 of file Shards_Array.hpp.
|
inline |
Definition at line 4221 of file Shards_Array.hpp.
|
inline |
Rank of the array is the number of non-void dimension tags.
Definition at line 4177 of file Shards_Array.hpp.
|
inline |
If the multidimension follows the natural ordering.
Definition at line 4180 of file Shards_Array.hpp.
|
inline |
If the multidimension follows the reverse (Fortran) ordering.
Definition at line 4183 of file Shards_Array.hpp.
|
inline |
If the member data storage is contiguous.
Definition at line 4186 of file Shards_Array.hpp.
|
inline |
Total number of member data items.
Definition at line 4191 of file Shards_Array.hpp.
|
inline |
Pointer to contiguous block of member data.
Definition at line 4200 of file Shards_Array.hpp.
|
inline |
Access member via Rank 0 multi-index.
Definition at line 4203 of file Shards_Array.hpp.
|
inline |
Definition at line 4215 of file Shards_Array.hpp.
|
inline |
Access the dimension tag-singleton for a given ordinate.
Definition at line 3677 of file Shards_Array.hpp.
|
inline |
Dimension of the given ordinate.
Definition at line 3682 of file Shards_Array.hpp.
|
inline |
Dimensions of all ordinates.
Definition at line 3697 of file Shards_Array.hpp.
|
inline |
Generate a subarray view of the array with the slowest striding ordinate offset by i and removed.
Definition at line 3719 of file Shards_Array.hpp.
|
inline |
Access member via offset into contiguous block.
Definition at line 3728 of file Shards_Array.hpp.
|
inline |
Assign pointer and dimensions.
Definition at line 3837 of file Shards_Array.hpp.
|
inline |
Return internal runtime implementation of the array.
Definition at line 4092 of file Shards_Array.hpp.
|
inline |
Return constructed reversed-ordering array.
Definition at line 4095 of file Shards_Array.hpp.
|
inline |
Assign stride and pointer.
Definition at line 4099 of file Shards_Array.hpp.
|
friend |
Definition at line 4137 of file Shards_Array.hpp.
|
protected |
Definition at line 4132 of file Shards_Array.hpp.