|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Description of the memory representation of a multidimensional array. More...
#include <rexlib/core/ndarray/array_descriptor.hpp>
Public Member Functions | |
| array_descriptor () noexcept | |
| Default construct the descriptor with an empty layout and unknown numerical type. | |
| array_descriptor (strided_layout layout, numerical_type data_type) noexcept | |
| Construct a descriptor from its components. | |
| array_descriptor (const array_descriptor &other) | |
| array_descriptor (array_descriptor &&other) noexcept | |
| array_descriptor & | operator= (const array_descriptor &other) |
| array_descriptor & | operator= (array_descriptor &&other) noexcept |
| std::size_t | hash () const noexcept |
| Get the hash value for this descriptor. | |
| const strided_layout & | get_layout () const noexcept |
| Get the layout of the array. | |
| numerical_type | get_data_type () const noexcept |
| Get the data type of the array. | |
Friends | |
| bool | operator== (const array_descriptor &lhs, const array_descriptor &rhs) noexcept |
| bool | operator!= (const array_descriptor &lhs, const array_descriptor &rhs) noexcept |
Description of the memory representation of a multidimensional array.
This class represents the (strided_layout, numerical_type) pair that defines the data interpretation on a multidimensional array.
|
noexcept |
Construct a descriptor from its components.
| layout | The layout. |
| data_type | The numerical type. |
|
noexcept |
Get the data type of the array.
|
noexcept |
Get the layout of the array.
|
noexcept |
Get the hash value for this descriptor.