Ardour  9.0-pre0-582-g084a23a80d
MathAliases.h File Reference
#include <cmath>
#include <complex>
Include dependency graph for MathAliases.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PI   (3.14159265358979232846)
 
#define TWO_PI   (2. * PI)
 
#define EPS   2.2204e-016
 
#define EXP   exp
 
#define COS   cos
 
#define SIN   sin
 
#define ABS   fabs
 
#define POW   powf
 
#define SQRT   sqrtf
 
#define LOG10   log10f
 
#define LOG   logf
 
#define FLOOR   floorf
 
#define TRUNC   truncf
 
#define EXPC   cexpf
 
#define CEXPC   cexp
 
#define ARGC   cargf
 
#define ABSC   cabsf
 
#define REAL   crealf
 
#define IMAG   cimagf
 

Typedefs

typedef complex< double > ComplexData
 

Macro Definition Documentation

◆ ABS

#define ABS   fabs

Definition at line 38 of file MathAliases.h.

◆ ABSC

#define ABSC   cabsf

sample = ABSC(complex) norm

Definition at line 54 of file MathAliases.h.

◆ ARGC

#define ARGC   cargf

sample = ARGC(complex)

Definition at line 52 of file MathAliases.h.

◆ CEXPC

#define CEXPC   cexp

complex = CEXPC(complex)

Definition at line 50 of file MathAliases.h.

◆ COS

#define COS   cos

Definition at line 36 of file MathAliases.h.

◆ EPS

#define EPS   2.2204e-016

Definition at line 32 of file MathAliases.h.

◆ EXP

#define EXP   exp

Definition at line 35 of file MathAliases.h.

◆ EXPC

#define EXPC   cexpf

sample = EXPC(complex)

Definition at line 48 of file MathAliases.h.

◆ FLOOR

#define FLOOR   floorf

Definition at line 43 of file MathAliases.h.

◆ IMAG

#define IMAG   cimagf

sample = IMAG(complex)

Definition at line 58 of file MathAliases.h.

◆ LOG

#define LOG   logf

Definition at line 42 of file MathAliases.h.

◆ LOG10

#define LOG10   log10f

Definition at line 41 of file MathAliases.h.

◆ PI

#define PI   (3.14159265358979232846)

Definition at line 27 of file MathAliases.h.

◆ POW

#define POW   powf

Definition at line 39 of file MathAliases.h.

◆ REAL

#define REAL   crealf

sample = REAL(complex)

Definition at line 56 of file MathAliases.h.

◆ SIN

#define SIN   sin

Definition at line 37 of file MathAliases.h.

◆ SQRT

#define SQRT   sqrtf

Definition at line 40 of file MathAliases.h.

◆ TRUNC

#define TRUNC   truncf

Definition at line 44 of file MathAliases.h.

◆ TWO_PI

#define TWO_PI   (2. * PI)

Definition at line 30 of file MathAliases.h.

Typedef Documentation

◆ ComplexData

typedef complex<double> ComplexData

Definition at line 23 of file MathAliases.h.