From 2651fe4801d11b131618676b85053cf81d64e668 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sat, 6 Aug 2011 15:15:56 +0000 Subject: [PATCH] fuction cph(vector) --- ChangeLog | 2 +- src/frontend/parse.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index de47083c7..397f092fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,5 @@ 2011-08-06 Holger Vogt - * fteext.h, cmaths/makefile.am, cmath1.c, cmath1.h: + * fteext.h, cmaths/makefile.am, cmath1.c, cmath1.h, parse.c: function cph(vec) delivers phase from a vector without jumps at +-PI 2011-08-06 Robert Larice diff --git a/src/frontend/parse.c b/src/frontend/parse.c index 8648ad508..d6b7f8440 100644 --- a/src/frontend/parse.c +++ b/src/frontend/parse.c @@ -141,6 +141,8 @@ typedef void* cx_function_t(void*,short int,int,int*,short int*); struct func ft_funcs[] = { { "mag", cx_mag } , { "magnitude", cx_mag } , + { "cph", cx_cph } , /* SJdV */ + { "cphase", cx_cph } , /* SJdV Continious phase*/ { "ph", cx_ph } , { "phase", cx_ph } , { "j", cx_j } ,