add: GravityFilter

This commit is contained in:
2026-05-20 00:10:37 +02:00
parent b333712d9c
commit 2371d16af8
4 changed files with 57 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ namespace pd_signal {
double mean(const std::vector<double>& in);
void diff(std::vector<double>& out, const std::vector<double>& in);
std::vector<double> gauss(size_t N, double mu, double sigma);
/**
* Convolution of two polynomials given in ASCENDING power order.
* If <c>p = p_0 + p_1 x + ... + p_{P-1} x^{P-1}</c> and likewise for q,