Ardour
9.0-pre0-1058-ge6e536b923
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
g
h
i
k
l
m
n
p
s
v
w
x
z
Typedefs
a
b
c
d
e
f
g
i
k
l
m
n
p
r
s
t
u
v
x
z
Enumerations
b
e
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
MathAliases.h
Go to the documentation of this file.
1
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2
3
/*
4
QM DSP Library
5
6
Centre for Digital Music, Queen Mary, University of London.
7
This file 2005-2006 Christian Landone.
8
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.
14
*/
15
16
#ifndef MATHALIASES_H
17
#define MATHALIASES_H
18
19
#include <cmath>
20
#include <complex>
21
22
using namespace
std;
23
typedef
complex<double>
ComplexData
;
24
25
26
#ifndef PI
27
#define PI (3.14159265358979232846)
28
#endif
29
30
#define TWO_PI (2. * PI)
31
32
#define EPS 2.2204e-016
33
34
/* aliases to math.h functions */
35
#define EXP exp
36
#define COS cos
37
#define SIN sin
38
#define ABS fabs
39
#define POW powf
40
#define SQRT sqrtf
41
#define LOG10 log10f
42
#define LOG logf
43
#define FLOOR floorf
44
#define TRUNC truncf
45
46
/* aliases to complex.h functions */
48
#define EXPC cexpf
50
#define CEXPC cexp
52
#define ARGC cargf
54
#define ABSC cabsf
56
#define REAL crealf
58
#define IMAG cimagf
59
60
#endif
ComplexData
complex< double > ComplexData
Definition:
MathAliases.h:23
libs
qm-dsp
maths
MathAliases.h
Generated on Sat Apr 5 2025 04:18:54 for Ardour by
1.9.1