feat: pd_signal::interp()

This commit is contained in:
2026-03-04 15:34:46 +01:00
parent 40e10c1718
commit 0fb4c4d6c1
5 changed files with 115 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
//
// Created by david on 04.03.2026.
//
#ifndef PASADASUPERPROJECT_SIGNAL_H
#define PASADASUPERPROJECT_SIGNAL_H
#include <vector>
namespace pd_signal {
/**
* Evaluate at points x the function given by the samples fp[xp[n]].
* Returned in y.
*/
void interp(std::vector<double>& x, std::vector<double>& xp, std::vector<double>& fp, std::vector<double>& y);
}
#endif //PASADASUPERPROJECT_SIGNAL_H