![]() |
0.4.1
|
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. | |