1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
6 Centre for Digital Music, Queen Mary, University of London.
7 This file 2005-2006 Christian Landone.
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information.
23 typedef complex<double> ComplexData;
27 #define PI (3.14159265358979232846)
30 #define TWO_PI (2. * PI)
32 #define EPS 2.2204e-016
34 /* aliases to math.h functions */
46 /* aliases to complex.h functions */
47 /** sample = EXPC(complex) */
49 /** complex = CEXPC(complex) */
51 /** sample = ARGC(complex) */
53 /** sample = ABSC(complex) norm */
55 /** sample = REAL(complex) */
57 /** sample = IMAG(complex) */