Template Function husarion_ugv_utils::test_utils::CheckNaNVector
Defined in File test_utils.hpp
Function Documentation
-
template<typename T>
bool husarion_ugv_utils::test_utils::CheckNaNVector(const std::vector<T> &vector) Check if all elements of vector are NaN.
- Parameters:
vector – Vector that will be checked
- Throws:
std::runtime_error – if method has invalid typename, valid options are: ‘float’, ‘double’, ‘long double’
- Returns:
True if all elements of the vector are NaN, false otherwise