shards
Version of the Day
|
Specialization for an array with Rank = 0. More...
#include <Shards_Array.hpp>
Array Attributes | |
enum | { Rank = 0 } |
Rank of the array is the number of non-void dimension tags. | |
enum | { Natural = false } |
If the multidimension follows the natural ordering. | |
enum | { Reverse = false } |
If the multidimension follows the reverse (Fortran) ordering. | |
enum | { Contiguous = true } |
If the member data storage is contiguous. | |
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. | |
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 () | |
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.