Template Numerical Library version\ main:9e7b0f4
Loading...
Searching...
No Matches
TNL::Containers::StaticNDArray< Value, SizesHolder, Permutation, Index > Class Template Reference

Static N-dimensional array. More...

#include <TNL/Containers/NDArray.h>

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

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
ValueType of the values stored in the array.
SizesHolderInstance of SizesHolder that will represent the array sizes.
PermutationPermutation that will be applied to indices when accessing the array elements. The identity permutation is used by default.
IndexType of indices used for addressing the array elements.

See also the Users' Guide.


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