Template Numerical Library: TNL::Containers::StaticNDArray< Value, SizesHolder, Permutation, Index > Class Template Reference

Template Numerical Library version\ main:16b9213d5

Loading...
Searching...
No Matches
Public Member Functions | List of all members
TNL::Containers::StaticNDArray< Value, SizesHolder, Permutation, Index > Class Template Reference
N-dimensional arrays

Static N-dimensional array. More...

`#include <TNL/Containers/NDArray.h>`

Inheritance diagram for TNL::Containers::StaticNDArray< Value, SizesHolder, Permutation, Index >:
[legend]
Collaboration diagram for TNL::Containers::StaticNDArray< Value, SizesHolder, Permutation, Index >:
[legend]

## Public Member Functions
constexpr void | setValue (Value value)
| Sets all elements of the array to given value.

## Detailed Description

template<typename Value, typename SizesHolder, typename Permutation = std::make_index_sequence< SizesHolder::getDimension() >, typename Index = typename SizesHolder::IndexType>
class TNL::Containers::StaticNDArray< Value, SizesHolder, Permutation, Index >

Static N-dimensional array.

Template Parameters

  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.
  Index | Type of indices used for addressing the array elements.

See also the Users' Guide.

The documentation for this class was generated from the following file:

- src/TNL/Containers/NDArray.h