18 lines
421 B
C
18 lines
421 B
C
|
|
//
|
||
|
|
// 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
|