cpp/utils/functions.h

15 lines
420 B
C
Raw Normal View History

2024-08-16 17:55:27 +00:00
#ifndef RWSIM_FUNCTIONS_H
#define RWSIM_FUNCTIONS_H
#include <vector>
2024-08-20 15:51:49 +00:00
#include <chrono>
2024-08-16 17:55:27 +00:00
int nearest_index(const std::vector<double>&, double, int);
double lerp(const std::vector<double>&, const std::vector<double>&, double, int);
std::chrono::time_point<std::chrono::system_clock> printSteps(std::chrono::time_point<std::chrono::system_clock>, std::chrono::time_point<std::chrono::system_clock>, int, int);
#endif