an indexing policy suitable for scalar
More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/Array/FixedSizeIndexingPolicies.hxx>
|
| TFEL_HOST_DEVICE constexpr size_type | getUnderlyingArrayMinimalSize () const noexcept |
| TFEL_HOST_DEVICE constexpr bool | empty () const noexcept |
| TFEL_HOST_DEVICE constexpr size_type | size () const noexcept |
|
TFEL_HOST_DEVICE constexpr auto | getRowMajorIndexingPolicy () |
|
|
static constexpr auto | hasFixedSizes = true |
|
static constexpr size_type | arity = 0 |
|
static constexpr auto | areDataContiguous = true |
|
static constexpr auto | unRollLoop = true |
template<typename SizeType>
struct tfel::math::ScalarIndexingPolicy< SizeType >
an indexing policy suitable for scalar
- Template Parameters
-
| SizeType | type used for indexing |
◆ empty()
template<typename SizeType>
|
|
inlinenodiscardconstexprnoexcept |
- Returns
- if the array is empty
◆ getUnderlyingArrayMinimalSize()
template<typename SizeType>
|
|
inlinenodiscardconstexprnoexcept |
- Returns
- the minimal data size
◆ size()
template<typename SizeType>
|
|
inlinenodiscardconstexprnoexcept |
- Returns
- the logical size of the array
The documentation for this struct was generated from the following file: