feat: pd_signal::interp()
This commit is contained in:
18
pasada-lib/include/pd_signal.h
Normal file
18
pasada-lib/include/pd_signal.h
Normal 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
|
||||
Reference in New Issue
Block a user