From fc128ec4afc24154584e8ec392413a7d0491524b Mon Sep 17 00:00:00 2001 From: Dsplib Date: Tue, 18 Aug 2020 20:42:47 +0300 Subject: [PATCH] added group_delay function Changes to be committed: modified: include/dspl.c modified: include/dspl.h --- include/dspl.c | 2 ++ include/dspl.h | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/include/dspl.c b/include/dspl.c index ba0ab98..f7beda2 100644 --- a/include/dspl.c +++ b/include/dspl.c @@ -113,6 +113,7 @@ p_gnuplot_create gnuplot_create ; p_gnuplot_open gnuplot_open ; p_goertzel goertzel ; p_goertzel_cmplx goertzel_cmplx ; +p_group_delay group_delay ; p_histogram histogram ; p_histogram_norm histogram_norm ; @@ -414,6 +415,7 @@ void* dspl_load() LOAD_FUNC(gnuplot_open); LOAD_FUNC(goertzel); LOAD_FUNC(goertzel_cmplx); + LOAD_FUNC(group_delay); LOAD_FUNC(histogram); LOAD_FUNC(histogram_norm); diff --git a/include/dspl.h b/include/dspl.h index 55b1901..1eb45bb 100644 --- a/include/dspl.h +++ b/include/dspl.h @@ -1069,6 +1069,14 @@ DECLARE_FUNC(int, goertzel_cmplx, complex_t* COMMA int COMMA complex_t*); /*----------------------------------------------------------------------------*/ +DECLARE_FUNC(int, group_delay, double* b + COMMA double* a + COMMA int ord + COMMA int flag + COMMA double* w + COMMA int n + COMMA double* tau); +/*----------------------------------------------------------------------------*/ DECLARE_FUNC(int, histogram, double* x COMMA int n COMMA int nh