| 
    Template Numerical Library version\ main:6a1fe78
    
   | 
 
Dynamic N-dimensional array. More...
#include <TNL/Containers/NDArray.h>


Public Types | |
| using | AllocatorType = Allocator | 
| Allocator type used for allocating the array.  | |
Public Member Functions | |
| NDArray ()=default | |
| Constructs an empty array with zero size.  | |
| NDArray (const AllocatorType &allocator) | |
| Constructs an empty array and sets the provided allocator.  | |
| NDArray (const NDArray &other, const AllocatorType &allocator) | |
| Copy constructor with a specific allocator (makes a deep copy).  | |
| AllocatorType | getAllocator () const | 
| Returns the allocator associated with the array.  | |
Dynamic N-dimensional array.
| Value | Type of the values stored in the array. | 
| SizesHolder | Instance of SizesHolder that will represent the array sizes. | 
| Permutation | Permutation that will be applied to indices when accessing the array elements. The identity permutation is used by default. | 
| Device | Type of the device that will be used for running operations on the array. | 
| Index | Type of indices used for addressing the array elements. | 
| Overlaps | Sequence of integers representing the overlaps in each dimension a distributed N-dimensional array. | 
| Allocator | Type of the allocator that will be used for allocating elements of the array. | 
See also the Users' Guide.