![]() |
0.4.1
|
Vector Utility functions. More...
Go to the source code of this file.
Namespaces | |
namespace | NAV |
Functions | |
template<typename Scalar> | |
std::vector< Scalar > | NAV::genRangeVector (Scalar start, Scalar stepSize, Scalar end) |
Returns a container filled with the given range. | |
template<typename T> | |
void | NAV::move (std::vector< T > &v, size_t sourceIdx, size_t targetIdx) |
Moves an element within a vector to a new position. | |
template<typename T> | |
bool | NAV::operator== (const std::vector< T > &lhs, std::span< const T > rhs) |
Comparison operator for span and vector. | |
template<typename T> | |
bool | NAV::operator== (std::span< const T > lhs, const std::vector< T > &rhs) |
Comparison operator for span and vector. | |