scenario_simulator_v2 C++ API
Functions
interpolation_utils Namespace Reference

Functions

bool isIncreasing (const std::vector< double > &x)
 
bool isNotDecreasing (const std::vector< double > &x)
 
std::vector< double > validateKeys (const std::vector< double > &base_keys, const std::vector< double > &query_keys)
 
template<class T >
void validateKeysAndValues (const std::vector< double > &base_keys, const std::vector< T > &base_values)
 

Detailed Description

Note
copied from https://github.com/tier4/autoware.universe/blob/v0.17.0/common/interpolation/include/interpolation/interpolation_utils.hpp

Function Documentation

◆ isIncreasing()

bool interpolation_utils::isIncreasing ( const std::vector< double > &  x)
inline

◆ isNotDecreasing()

bool interpolation_utils::isNotDecreasing ( const std::vector< double > &  x)
inline

◆ validateKeys()

std::vector<double> interpolation_utils::validateKeys ( const std::vector< double > &  base_keys,
const std::vector< double > &  query_keys 
)
inline

◆ validateKeysAndValues()

template<class T >
void interpolation_utils::validateKeysAndValues ( const std::vector< double > &  base_keys,
const std::vector< T > &  base_values 
)