View on a MultiArray2.
More...
#include <arcane/utils/MultiArray2View.h>
|
|
| JaggedSmallSpan ()=default |
| | Empty view.
|
| constexpr __host__ __device__ Int32 | dim1Size () const |
| | Number of elements in the first dimension.
|
| constexpr __host__ __device__ SmallSpan< const Int32 > | dim2Sizes () const |
| | Number of elements in the second dimension.
|
| constexpr __host__ __device__ Int32 | totalNbElement () const |
| | Total number of elements in the array.
|
| constexpr __host__ __device__ SmallSpan< DataType > | operator[] (Int32 i) const |
| | The i-th element of the array.
|
template<class DataType>
class Arcane::JaggedSmallSpan< DataType >
View on a MultiArray2.
Instances of this class are created by calling MultiArray2::span() or MultiArray2::constSpan().
Definition at line 153 of file MultiArray2View.h.
◆ JaggedSmallSpan()
◆ dim1Size()
◆ dim2Sizes()
◆ operator[]()
◆ totalNbElement()
◆ MultiArray2< std::remove_cv_t< DataType > >
template<class DataType>
| friend class MultiArray2< std::remove_cv_t< DataType > > |
|
friend |
◆ m_buffer
◆ m_indexes
◆ m_sizes
The documentation for this class was generated from the following file: