LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp_mathtypes.h File Reference
#include <armadillo>
#include "lasp_types.h"
#include <cmath>
Include dependency graph for lasp_mathtypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define c_conj   conjf
 
#define c_real   crealf
 
#define c_imag   cimagf
 
#define d_abs   fabsf
 
#define c_abs   cabsf
 
#define d_atan2   atan2f
 
#define d_acos   acosf
 
#define d_sqrt   sqrtf
 
#define c_exp   cexpf
 
#define d_exp   expf
 
#define d_sin   sinf
 
#define d_cos   cosf
 
#define d_pow   powf
 
#define d_log10   log10f
 
#define d_ln   logf
 
#define d_epsilon   (FLT_EPSILON)
 

Typedefs

using vd = arma::Col< d >
 
using vrd = arma::Row< d >
 
using vc = arma::Col< c >
 
using vrc = arma::Row< c >
 
using dmat = arma::Mat< d >
 
using cmat = arma::Mat< c >
 
using ccube = arma::Cube< c >
 
using dcube = arma::Cube< d >
 

Variables

const d number_pi = arma::datum::pi
 

Macro Definition Documentation

◆ c_abs

#define c_abs   cabsf

Definition at line 29 of file lasp_mathtypes.h.

◆ c_conj

#define c_conj   conjf

Definition at line 25 of file lasp_mathtypes.h.

◆ c_exp

#define c_exp   cexpf

Definition at line 33 of file lasp_mathtypes.h.

◆ c_imag

#define c_imag   cimagf

Definition at line 27 of file lasp_mathtypes.h.

◆ c_real

#define c_real   crealf

Definition at line 26 of file lasp_mathtypes.h.

◆ d_abs

#define d_abs   fabsf

Definition at line 28 of file lasp_mathtypes.h.

◆ d_acos

#define d_acos   acosf

Definition at line 31 of file lasp_mathtypes.h.

◆ d_atan2

#define d_atan2   atan2f

Definition at line 30 of file lasp_mathtypes.h.

◆ d_cos

#define d_cos   cosf

Definition at line 36 of file lasp_mathtypes.h.

◆ d_epsilon

#define d_epsilon   (FLT_EPSILON)

Definition at line 40 of file lasp_mathtypes.h.

◆ d_exp

#define d_exp   expf

Definition at line 34 of file lasp_mathtypes.h.

◆ d_ln

#define d_ln   logf

Definition at line 39 of file lasp_mathtypes.h.

◆ d_log10

#define d_log10   log10f

Definition at line 38 of file lasp_mathtypes.h.

◆ d_pow

#define d_pow   powf

Definition at line 37 of file lasp_mathtypes.h.

◆ d_sin

#define d_sin   sinf

Definition at line 35 of file lasp_mathtypes.h.

◆ d_sqrt

#define d_sqrt   sqrtf

Definition at line 32 of file lasp_mathtypes.h.

Typedef Documentation

◆ ccube

using ccube = arma::Cube<c>

Definition at line 50 of file lasp_mathtypes.h.

◆ cmat

using cmat = arma::Mat<c>

Definition at line 49 of file lasp_mathtypes.h.

◆ dcube

using dcube = arma::Cube<d>

Definition at line 51 of file lasp_mathtypes.h.

◆ dmat

using dmat = arma::Mat<d>

Definition at line 48 of file lasp_mathtypes.h.

◆ vc

using vc = arma::Col<c>

Definition at line 46 of file lasp_mathtypes.h.

◆ vd

using vd = arma::Col<d>

Definition at line 44 of file lasp_mathtypes.h.

◆ vrc

using vrc = arma::Row<c>

Definition at line 47 of file lasp_mathtypes.h.

◆ vrd

using vrd = arma::Row<d>

Definition at line 45 of file lasp_mathtypes.h.

Variable Documentation

◆ number_pi

const d number_pi = arma::datum::pi

Definition at line 53 of file lasp_mathtypes.h.