Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bsemath.hh File Reference
#include <bse/bsedefs.hh>
#include <bse/bseieee754.hh>
Include dependency graph for bsemath.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BseComplex
 

Macros

#define BSE_1_DIV_PI
 
#define BSE_PI_DIV_2
 
#define BSE_2_DIV_PI
 
#define BSE_2_DIV_SQRT_PI
 
#define BSE_2_DIV_LN2
 
#define BSE_PI_DIV_4
 
#define BSE_E
 
#define BSE_LOG2E
 
#define BSE_LOG10E
 
#define BSE_LN2
 
#define BSE_SQRT2
 
#define BSE_1_DIV_SQRT2
 
#define BSE_LN4
 
#define BSE_LN10
 
#define BSE_LOG2_10
 
#define BSE_LOG2POW20_10
 
#define BSE_2_POW_1_DIV_12
 
#define BSE_LN_2_POW_1_DIV_12
 
#define BSE_LN_2_POW_1_DIV_1200_d
 
#define BSE_2_POW_1_DIV_72
 
#define BSE_LN_2_POW_1_DIV_72
 
#define BSE_DECIBEL20_FACTOR
 
#define BSE_DECIBEL10_FACTOR
 
#define BSE_1_DIV_DECIBEL20_FACTOR
 
#define BSE_COMPLEX_ONE
 

Functions

std::string bse_complex_str (BseComplex c)
 
std::string bse_complex_list (uint n_points, BseComplex *points, const std::string &indent)
 
void bse_complex_gnuplot (const char *file_name, uint n_points, BseComplex *points)
 
std::string bse_string_from_double (long double value)
 
void bse_poly_complex_roots (uint poly_degree, double *a, BseComplex *roots)
 
void bse_poly_from_re_roots (uint poly_degree, double *a, BseComplex *roots)
 
void bse_cpoly_from_roots (uint poly_degree, BseComplex *c, BseComplex *roots)
 
gboolean bse_poly2_droots (gdouble roots[2], gdouble a, gdouble b, gdouble c)
 
std::string bse_poly_str (uint degree, double *a, const std::string &var)
 
std::string bse_poly_str1 (uint degree, double *a, const std::string &var)
 
double bse_temp_freq (double kammer_freq, int semitone_delta)
 
double bse_bit_depth_epsilon (guint n_bits)
 
gint bse_rand_int (void)
 
gfloat bse_rand_float (void)
 
gint bse_rand_bool (void)
 
void bse_float_gnuplot (const char *file_name, double xstart, double xstep, uint n_ypoints, const float *ypoints)