0.4.1
Loading...
Searching...
No Matches
Array.hpp File Reference

Array Utility functions. More...

Go to the source code of this file.

Namespaces

namespace  NAV
 
namespace  NAV::detail
 

Functions

template<std::size_t N, typename T>
constexpr std::array< T, N > NAV::create_array (const T &value)
 Create an array with the value assigned to all elements in the container.
 
template<typename T, std::size_t... Is>
constexpr std::array< T, sizeof...(Is)> NAV::detail::create_array (const T &value, std::index_sequence< Is... >)
 Create an array with the value assigned to all elements in the container.
 
template<size_t N, typename Scalar>
constexpr std::array< Scalar, N > NAV::genRangeArray (Scalar start, Scalar stepSize, Scalar end)
 Returns a container filled with the given range.
 

Detailed Description

Array Utility functions.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2024-01-15

Definition in file Array.hpp.