pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
Functions
Plank maths functions
Plank functions

Functions

static float pl_MoveF (float a)
 Just returns the input argument.
static double pl_MoveD (double a)
 Just returns the input argument.
static float pl_NegF (float a)
 Returns the negative of the input argument.
static double pl_NegD (double a)
 Returns the negative of the input argument.
static float pl_AbsF (float a)
 Returns the absolute of the input argument.
static double pl_AbsD (double a)
 Returns the absolute of the input argument.
static float pl_Log2F (float a)
 Returns the logarithm base 2 of the input argument.
static double pl_Log2D (double a)
 Returns the logarithm base 2 of the input argument.
static float pl_ReciprocalF (float a)
 Returns the reciprocal of the input argument (i.e, $ \frac{1}{a} $).
static double pl_ReciprocalD (double a)
 Returns the reciprocal of the input argument (i.e, $ \frac{1}{a} $).
static float pl_SinF (float a)
 Returns the sine of the input argument.
static double pl_SinD (double a)
 Returns the sine of the input argument.
static float pl_CosF (float a)
 Returns the cosine of the input argument.
static double pl_CosD (double a)
 Returns the cosine of the input argument.
static float pl_TanF (float a)
 Returns the tangent of the input argument.
static double pl_TanD (double a)
 Returns the tangent of the input argument.
static float pl_AsinF (float a)
 Returns the arcsine of the input argument.
static double pl_AsinD (double a)
 Returns the arcsine of the input argument.
static float pl_AcosF (float a)
 Returns the arcosine of the input argument.
static double pl_AcosD (double a)
 Returns the arcosine of the input argument.
static float pl_AtanF (float a)
 Returns the arctangent of the input argument.
static double pl_AtanD (double a)
 Returns the arctangent of the input argument.
static float pl_SinhF (float a)
 Returns the hyperbolic sine of the input argument.
static double pl_SinhD (double a)
 Returns the hyperbolic sine of the input argument.
static float pl_CoshF (float a)
 Returns the hyperbolic cosine of the input argument.
static double pl_CoshD (double a)
 Returns the hyperbolic cosine of the input argument.
static float pl_TanhF (float a)
 Returns the hyperbolic tangent of the input argument.
static double pl_TanhD (double a)
 Returns the hyperbolic tangent of the input argument.
static float pl_SqrtF (float a)
 Returns the square root of the input argument.
static double pl_SqrtD (double a)
 Returns the square root of the input argument.
static float pl_LogF (float a)
 Returns the natural logarithm of the input argument.
static double pl_LogD (double a)
 Returns the natural logarithm of the input argument.
static float pl_Log10F (float a)
 Returns the logarithm base 10 of the input argument.
static double pl_Log10D (double a)
 Returns the logarithm base 10 of the input argument.
static float pl_ExpF (float a)
 Returns the exponent of the input argument.
static double pl_ExpD (double a)
 Returns the exponent of the input argument.
static float pl_SquaredF (float a)
 Returns the input argument squared.
static double pl_SquaredD (double a)
 Returns the input argument squared.
static float pl_CubedF (float a)
 Returns the input argument cubed.
static double pl_CubedD (double a)
 Returns the input argument cubed.
static float pl_CeilF (float a)
 Returns the input argument rounded up to the next highest integer.
static double pl_CeilD (double a)
 Returns the input argument rounded up to the next highest integer.
static float pl_FloorF (float a)
 Returns the input argument rounded down to the next lowest integer.
static double pl_FloorD (double a)
 Returns the input argument rounded down to the next lowest integer.
static float pl_FracF (float a)
 Returns the fractional part of the input argument.
static double pl_FracD (double a)
 Returns the fractional part of the input argument.
static float pl_SignF (float a)
 Returns 0 if the input is 0, -1 if the input is negative or 1 if the input argument is positive.
static double pl_SignD (double a)
 Returns 0 if the input is 0, -1 if the input is negative or 1 if the input argument is positive.
static float pl_M2FF (float a)
 Returns the input argument converted from MIDI note numbers to frequency (in Hz).
static double pl_M2FD (double a)
 Returns the input argument converted from MIDI note numbers to frequency (in Hz).
static float pl_F2MF (float a)
 Returns the input argument converted from frequency (in Hz) to MIDI note numbers.
static double pl_F2MD (double a)
 Returns the input argument converted from frequency (in Hz) to MIDI note numbers.
static float pl_A2dBF (float a)
 Returns the input argument converted from linear amplitude to decibels where 0dB is an amplitude of 1.
static double pl_A2dBD (double a)
 Returns the input argument converted from linear amplitude to decibels where 0dB is an amplitude of 1.
static float pl_dB2AF (float a)
 Returns the input argument converted from decibels to linear amplitude where 0dB is an amplitude of 1.
static double pl_dB2AD (double a)
 Returns the input argument converted from decibels to linear amplitude where 0dB is an amplitude of 1.
static float pl_D2RF (float a)
 Returns the input argument converted from degrees to radians.
static double pl_D2RD (double a)
 Returns the input argument converted from degrees to radians.
static float pl_R2DF (float a)
 Returns the input argument converted from radians to degrees.
static double pl_R2DD (double a)
 Returns the input argument converted from radians to degrees.
static float pl_DistortF (float a)
 Returns the input argument distorted.
static double pl_DistortD (double a)
 Returns the input argument distorted.
static float pl_ZapF (float x)
 Returns the input argument with infinities, NaNs and denormallised numbers removed.
static double pl_ZapD (double x)
 Returns the input argument with infinities, NaNs and denormallised numbers removed.
static float pl_AddF (float a, float b)
 Returns $ a + b $.
static double pl_AddD (double a, double b)
 Returns $ a + b $.
static float pl_SubF (float a, float b)
 Returns $ a - b $.
static double pl_SubD (double a, double b)
 Returns $ a - b $.
static float pl_MulF (float a, float b)
 Returns $ a \times b $.
static double pl_MulD (double a, double b)
 Returns $ a \times b $.
static float pl_DivF (float a, float b)
 Returns $ \frac{a}{b} $.
static double pl_DivD (double a, double b)
 Returns $ \frac{a}{b} $.
static float pl_ModF (float a, float b)
 Returns $ a % b $.
static double pl_ModD (double a, double b)
 Returns $ a % b $.
static float pl_MinF (float a, float b)
 Returns minimum of a and b.
static double pl_MinD (double a, double b)
 Returns minimum of a and b.
static float pl_MaxF (float a, float b)
 Returns maximum of a and b.
static double pl_MaxD (double a, double b)
 Returns maximum of a and b.
static float pl_PowF (float a, float b)
 Returns a raised to the power b.
static double pl_PowD (double a, double b)
 Returns a raised to the power b.
static float pl_IsEqualToF (float a, float b)
 Returns 1 if the inputs are equal otherwise returns 0.
static double pl_IsEqualToD (double a, double b)
 Returns 1 if the inputs are equal otherwise returns 0.
static float pl_IsNotEqualToF (float a, float b)
 Returns 1 if the inputs are not equal otherwise returns 0.
static double pl_IsNotEqualToD (double a, double b)
 Returns 1 if the inputs are not equal otherwise returns 0.
static float pl_IsGreaterThanF (float a, float b)
 Returns 1 if the a is greater than b otherwise returns 0.
static double pl_IsGreaterThanD (double a, double b)
 Returns 1 if the a is greater than b otherwise returns 0.
static float pl_IsGreaterThanOrEqualToF (float a, float b)
 Returns 1 if the a is greater than or equal to b otherwise returns 0.
static double pl_IsGreaterThanOrEqualToD (double a, double b)
 Returns 1 if the a is greater than or equal to b otherwise returns 0.
static float pl_IsLessThanF (float a, float b)
 Returns 1 if the a is less than b otherwise returns 0.
static double pl_IsLessThanD (double a, double b)
 Returns 1 if the a is less than b otherwise returns 0.
static float pl_IsLessThanOrEqualToF (float a, float b)
 Returns 1 if the a is less than or equal to b otherwise returns 0.
static double pl_IsLessThanOrEqualToD (double a, double b)
 Returns 1 if the a is less than or equal to b otherwise returns 0.
static float pl_HypotF (float a, float b)
 Returns $ \sqrt{ a^2 + b^2 } $.
static double pl_HypotD (double a, double b)
 Returns $ \sqrt{ a^2 + b^2 } $.
static float pl_Atan2F (float a, float b)
 Returns $ atan2(a,b) $.
static double pl_Atan2D (double a, double b)
 Returns $ atan2(a,b) $.
static float pl_SumSqrF (float a, float b)
 Returns $ a * a + b * b $.
static double pl_SumSqrD (double a, double b)
 Returns $ a * a + b * b $.
static float pl_DifSqrF (float a, float b)
 Returns $ a * a - b * b $.
static double pl_DifSqrD (double a, double b)
 Returns $ a * a - b * b $.
static float pl_SqrSumF (float a, float b)
 Returns $ (a + b) * (a + b) $.
static double pl_SqrSumD (double a, double b)
 Returns $ (a + b) * (a + b) $.
static float pl_SqrDifF (float a, float b)
 Returns $ (a - b) * (a - b) $.
static double pl_SqrDifD (double a, double b)
 Returns $ (a - b) * (a - b) $.
static float pl_AbsDifF (float a, float b)
 Returns the absolute difference between the input arguments.
static double pl_AbsDifD (double a, double b)
 Returns the absolute difference between the input arguments.
static float pl_ThreshF (float a, float b)
 If a is less than b returns 0 otherwise return a.
static double pl_ThreshD (double a, double b)
 If a is less than b returns 0 otherwise return a.
static PlankL pl_MinL (PlankL a, PlankL b)
 Returns minimum of a and b.
static PlankL pl_MaxL (PlankL a, PlankL b)
 Returns maximum of a and b.
static float pl_LinLinF (float input, float inLow, float inHigh, float outLow, float outHigh)
 Maps a value from one linear range to another.
static double pl_LinLinD (double input, double inLow, double inHigh, double outLow, double outHigh)
 Maps a value from one linear range to another.
static float pl_LinLin2F (float input, float inLow, float inRange, float outLow, float outRange)
 Maps a value from one linear range to another.
static double pl_LinLin2D (double input, double inLow, double inRange, double outLow, double outRange)
 Maps a value from one linear range to another.
static float pl_LinExpF (float input, float inLow, float inHigh, float outLow, float outHigh)
 Maps a value from a linear range to an exponential range.
static double pl_LinExpD (double input, double inLow, double inHigh, double outLow, double outHigh)
 Maps a value from a linear range to an exponential range.
static float pl_LinInterpF (float a, float b, float frac)
 Perform linear interpolation on two values.
static double pl_LinInterpD (double a, double b, double frac)
 Perform linear interpolation on two values.
static float pl_LookupF (const float *table, float index)
 Lookup a value in a table at the given index performing linear interpolation if necessary.
static double pl_LookupD (const double *table, double index)
 Lookup a value in a table at the given index performing linear interpolation if necessary.

Function Documentation

static double pl_A2dBD ( double  a) [inline, static]

Returns the input argument converted from linear amplitude to decibels where 0dB is an amplitude of 1.

static float pl_A2dBF ( float  a) [inline, static]

Returns the input argument converted from linear amplitude to decibels where 0dB is an amplitude of 1.

static double pl_AbsD ( double  a) [inline, static]

Returns the absolute of the input argument.

static double pl_AbsDifD ( double  a,
double  b 
) [inline, static]

Returns the absolute difference between the input arguments.

static float pl_AbsDifF ( float  a,
float  b 
) [inline, static]

Returns the absolute difference between the input arguments.

static float pl_AbsF ( float  a) [inline, static]

Returns the absolute of the input argument.

static double pl_AcosD ( double  a) [inline, static]

Returns the arcosine of the input argument.

static float pl_AcosF ( float  a) [inline, static]

Returns the arcosine of the input argument.

static double pl_AddD ( double  a,
double  b 
) [inline, static]

Returns $ a + b $.

static float pl_AddF ( float  a,
float  b 
) [inline, static]

Returns $ a + b $.

static double pl_AsinD ( double  a) [inline, static]

Returns the arcsine of the input argument.

static float pl_AsinF ( float  a) [inline, static]

Returns the arcsine of the input argument.

static double pl_Atan2D ( double  a,
double  b 
) [inline, static]

Returns $ atan2(a,b) $.

static float pl_Atan2F ( float  a,
float  b 
) [inline, static]

Returns $ atan2(a,b) $.

static double pl_AtanD ( double  a) [inline, static]

Returns the arctangent of the input argument.

static float pl_AtanF ( float  a) [inline, static]

Returns the arctangent of the input argument.

static double pl_CeilD ( double  a) [inline, static]

Returns the input argument rounded up to the next highest integer.

static float pl_CeilF ( float  a) [inline, static]

Returns the input argument rounded up to the next highest integer.

static double pl_CosD ( double  a) [inline, static]

Returns the cosine of the input argument.

static float pl_CosF ( float  a) [inline, static]

Returns the cosine of the input argument.

static double pl_CoshD ( double  a) [inline, static]

Returns the hyperbolic cosine of the input argument.

static float pl_CoshF ( float  a) [inline, static]

Returns the hyperbolic cosine of the input argument.

static double pl_CubedD ( double  a) [inline, static]

Returns the input argument cubed.

static float pl_CubedF ( float  a) [inline, static]

Returns the input argument cubed.

static double pl_D2RD ( double  a) [inline, static]

Returns the input argument converted from degrees to radians.

static float pl_D2RF ( float  a) [inline, static]

Returns the input argument converted from degrees to radians.

static double pl_dB2AD ( double  a) [inline, static]

Returns the input argument converted from decibels to linear amplitude where 0dB is an amplitude of 1.

static float pl_dB2AF ( float  a) [inline, static]

Returns the input argument converted from decibels to linear amplitude where 0dB is an amplitude of 1.

static double pl_DifSqrD ( double  a,
double  b 
) [inline, static]

Returns $ a * a - b * b $.

static float pl_DifSqrF ( float  a,
float  b 
) [inline, static]

Returns $ a * a - b * b $.

static double pl_DistortD ( double  a) [inline, static]

Returns the input argument distorted.

static float pl_DistortF ( float  a) [inline, static]

Returns the input argument distorted.

static double pl_DivD ( double  a,
double  b 
) [inline, static]

Returns $ \frac{a}{b} $.

static float pl_DivF ( float  a,
float  b 
) [inline, static]

Returns $ \frac{a}{b} $.

static double pl_ExpD ( double  a) [inline, static]

Returns the exponent of the input argument.

static float pl_ExpF ( float  a) [inline, static]

Returns the exponent of the input argument.

static double pl_F2MD ( double  a) [inline, static]

Returns the input argument converted from frequency (in Hz) to MIDI note numbers.

static float pl_F2MF ( float  a) [inline, static]

Returns the input argument converted from frequency (in Hz) to MIDI note numbers.

static double pl_FloorD ( double  a) [inline, static]

Returns the input argument rounded down to the next lowest integer.

static float pl_FloorF ( float  a) [inline, static]

Returns the input argument rounded down to the next lowest integer.

static double pl_FracD ( double  a) [inline, static]

Returns the fractional part of the input argument.

static float pl_FracF ( float  a) [inline, static]

Returns the fractional part of the input argument.

static double pl_HypotD ( double  a,
double  b 
) [inline, static]

Returns $ \sqrt{ a^2 + b^2 } $.

static float pl_HypotF ( float  a,
float  b 
) [inline, static]

Returns $ \sqrt{ a^2 + b^2 } $.

static double pl_IsEqualToD ( double  a,
double  b 
) [inline, static]

Returns 1 if the inputs are equal otherwise returns 0.

static float pl_IsEqualToF ( float  a,
float  b 
) [inline, static]

Returns 1 if the inputs are equal otherwise returns 0.

static double pl_IsGreaterThanD ( double  a,
double  b 
) [inline, static]

Returns 1 if the a is greater than b otherwise returns 0.

static float pl_IsGreaterThanF ( float  a,
float  b 
) [inline, static]

Returns 1 if the a is greater than b otherwise returns 0.

static double pl_IsGreaterThanOrEqualToD ( double  a,
double  b 
) [inline, static]

Returns 1 if the a is greater than or equal to b otherwise returns 0.

static float pl_IsGreaterThanOrEqualToF ( float  a,
float  b 
) [inline, static]

Returns 1 if the a is greater than or equal to b otherwise returns 0.

static double pl_IsLessThanD ( double  a,
double  b 
) [inline, static]

Returns 1 if the a is less than b otherwise returns 0.

static float pl_IsLessThanF ( float  a,
float  b 
) [inline, static]

Returns 1 if the a is less than b otherwise returns 0.

static double pl_IsLessThanOrEqualToD ( double  a,
double  b 
) [inline, static]

Returns 1 if the a is less than or equal to b otherwise returns 0.

static float pl_IsLessThanOrEqualToF ( float  a,
float  b 
) [inline, static]

Returns 1 if the a is less than or equal to b otherwise returns 0.

static double pl_IsNotEqualToD ( double  a,
double  b 
) [inline, static]

Returns 1 if the inputs are not equal otherwise returns 0.

static float pl_IsNotEqualToF ( float  a,
float  b 
) [inline, static]

Returns 1 if the inputs are not equal otherwise returns 0.

static double pl_LinExpD ( double  input,
double  inLow,
double  inHigh,
double  outLow,
double  outHigh 
) [inline, static]

Maps a value from a linear range to an exponential range.

NB Neither the input nor output range may meet or cross zero.

Parameters:
inputThe input value to map.
inLowThe minimum value of the linear input value range.
inHighThe maximum value of the linear input value range.
outLowThe minimum value of the exponential output value range.
outHighThe maximum value of the exponential output value range.
Returns:
The mapped value.
static float pl_LinExpF ( float  input,
float  inLow,
float  inHigh,
float  outLow,
float  outHigh 
) [inline, static]

Maps a value from a linear range to an exponential range.

NB Neither the input nor output range may meet or cross zero.

Parameters:
inputThe input value to map.
inLowThe minimum value of the linear input value range.
inHighThe maximum value of the linear input value range.
outLowThe minimum value of the exponential output value range.
outHighThe maximum value of the exponential output value range.
Returns:
The mapped value.
static double pl_LinInterpD ( double  a,
double  b,
double  frac 
) [inline, static]

Perform linear interpolation on two values.

Parameters:
aValue a.
bValue b.
fracThe interpolation fraction, this must be between 0 and 1.
Returns:
$ a + (frac \times (b - a)) $
static float pl_LinInterpF ( float  a,
float  b,
float  frac 
) [inline, static]

Perform linear interpolation on two values.

Parameters:
aValue a.
bValue b.
fracThe interpolation fraction, this must be between 0 and 1.
Returns:
$ a + (frac \times (b - a)) $
static double pl_LinLin2D ( double  input,
double  inLow,
double  inRange,
double  outLow,
double  outRange 
) [inline, static]

Maps a value from one linear range to another.

Parameters:
inputThe input value to map.
inLowThe minimum value of the input value range.
inRangeThe maximum value of the input value range (i.e., $ inHigh = inLow + inRange $).
outLowThe minimum value of the output value range.
outRangeThe range of the output value (i.e., $ outHigh = outLow + outRange $).
Returns:
The mapped value.
static float pl_LinLin2F ( float  input,
float  inLow,
float  inRange,
float  outLow,
float  outRange 
) [inline, static]

Maps a value from one linear range to another.

Parameters:
inputThe input value to map.
inLowThe minimum value of the input value range.
inRangeThe maximum value of the input value range (i.e., $ inHigh = inLow + inRange $).
outLowThe minimum value of the output value range.
outRangeThe range of the output value (i.e., $ outHigh = outLow + outRange $).
Returns:
The mapped value.
static double pl_LinLinD ( double  input,
double  inLow,
double  inHigh,
double  outLow,
double  outHigh 
) [inline, static]

Maps a value from one linear range to another.

Parameters:
inputThe input value to map.
inLowThe minimum value of the input value range.
inHighThe maximum value of the input value range.
outLowThe minimum value of the output value range.
outHighThe maximum value of the output value range.
Returns:
The mapped value.
static float pl_LinLinF ( float  input,
float  inLow,
float  inHigh,
float  outLow,
float  outHigh 
) [inline, static]

Maps a value from one linear range to another.

Parameters:
inputThe input value to map.
inLowThe minimum value of the input value range.
inHighThe maximum value of the input value range.
outLowThe minimum value of the output value range.
outHighThe maximum value of the output value range.
Returns:
The mapped value.
static double pl_Log10D ( double  a) [inline, static]

Returns the logarithm base 10 of the input argument.

static float pl_Log10F ( float  a) [inline, static]

Returns the logarithm base 10 of the input argument.

static double pl_Log2D ( double  a) [inline, static]

Returns the logarithm base 2 of the input argument.

static float pl_Log2F ( float  a) [inline, static]

Returns the logarithm base 2 of the input argument.

static double pl_LogD ( double  a) [inline, static]

Returns the natural logarithm of the input argument.

static float pl_LogF ( float  a) [inline, static]

Returns the natural logarithm of the input argument.

static double pl_LookupD ( const double *  table,
double  index 
) [inline, static]

Lookup a value in a table at the given index performing linear interpolation if necessary.

Parameters:
tableA pointer to the lookup table.
indexThe index into the table, the fractional part will be used to perform linear interpolation.
Returns:
The looked-up value.
static float pl_LookupF ( const float *  table,
float  index 
) [inline, static]

Lookup a value in a table at the given index performing linear interpolation if necessary.

Parameters:
tableA pointer to the lookup table.
indexThe index into the table, the fractional part will be used to perform linear interpolation.
Returns:
The looked-up value.
static double pl_M2FD ( double  a) [inline, static]

Returns the input argument converted from MIDI note numbers to frequency (in Hz).

static float pl_M2FF ( float  a) [inline, static]

Returns the input argument converted from MIDI note numbers to frequency (in Hz).

static double pl_MaxD ( double  a,
double  b 
) [inline, static]

Returns maximum of a and b.

static float pl_MaxF ( float  a,
float  b 
) [inline, static]

Returns maximum of a and b.

static PlankL pl_MaxL ( PlankL  a,
PlankL  b 
) [inline, static]

Returns maximum of a and b.

static double pl_MinD ( double  a,
double  b 
) [inline, static]

Returns minimum of a and b.

static float pl_MinF ( float  a,
float  b 
) [inline, static]

Returns minimum of a and b.

static PlankL pl_MinL ( PlankL  a,
PlankL  b 
) [inline, static]

Returns minimum of a and b.

static double pl_ModD ( double  a,
double  b 
) [inline, static]

Returns $ a % b $.

static float pl_ModF ( float  a,
float  b 
) [inline, static]

Returns $ a % b $.

static double pl_MoveD ( double  a) [inline, static]

Just returns the input argument.

This is just added as a convenience for the vector-based functions.

static float pl_MoveF ( float  a) [inline, static]

Just returns the input argument.

This is just added as a convenience for the vector-based functions.

static double pl_MulD ( double  a,
double  b 
) [inline, static]

Returns $ a \times b $.

static float pl_MulF ( float  a,
float  b 
) [inline, static]

Returns $ a \times b $.

static double pl_NegD ( double  a) [inline, static]

Returns the negative of the input argument.

static float pl_NegF ( float  a) [inline, static]

Returns the negative of the input argument.

static double pl_PowD ( double  a,
double  b 
) [inline, static]

Returns a raised to the power b.

static float pl_PowF ( float  a,
float  b 
) [inline, static]

Returns a raised to the power b.

static double pl_R2DD ( double  a) [inline, static]

Returns the input argument converted from radians to degrees.

static float pl_R2DF ( float  a) [inline, static]

Returns the input argument converted from radians to degrees.

static double pl_ReciprocalD ( double  a) [inline, static]

Returns the reciprocal of the input argument (i.e, $ \frac{1}{a} $).

static float pl_ReciprocalF ( float  a) [inline, static]

Returns the reciprocal of the input argument (i.e, $ \frac{1}{a} $).

static double pl_SignD ( double  a) [inline, static]

Returns 0 if the input is 0, -1 if the input is negative or 1 if the input argument is positive.

static float pl_SignF ( float  a) [inline, static]

Returns 0 if the input is 0, -1 if the input is negative or 1 if the input argument is positive.

static double pl_SinD ( double  a) [inline, static]

Returns the sine of the input argument.

static float pl_SinF ( float  a) [inline, static]

Returns the sine of the input argument.

static double pl_SinhD ( double  a) [inline, static]

Returns the hyperbolic sine of the input argument.

static float pl_SinhF ( float  a) [inline, static]

Returns the hyperbolic sine of the input argument.

static double pl_SqrDifD ( double  a,
double  b 
) [inline, static]

Returns $ (a - b) * (a - b) $.

static float pl_SqrDifF ( float  a,
float  b 
) [inline, static]

Returns $ (a - b) * (a - b) $.

static double pl_SqrSumD ( double  a,
double  b 
) [inline, static]

Returns $ (a + b) * (a + b) $.

static float pl_SqrSumF ( float  a,
float  b 
) [inline, static]

Returns $ (a + b) * (a + b) $.

static double pl_SqrtD ( double  a) [inline, static]

Returns the square root of the input argument.

static float pl_SqrtF ( float  a) [inline, static]

Returns the square root of the input argument.

static double pl_SquaredD ( double  a) [inline, static]

Returns the input argument squared.

static float pl_SquaredF ( float  a) [inline, static]

Returns the input argument squared.

static double pl_SubD ( double  a,
double  b 
) [inline, static]

Returns $ a - b $.

static float pl_SubF ( float  a,
float  b 
) [inline, static]

Returns $ a - b $.

static double pl_SumSqrD ( double  a,
double  b 
) [inline, static]

Returns $ a * a + b * b $.

static float pl_SumSqrF ( float  a,
float  b 
) [inline, static]

Returns $ a * a + b * b $.

static double pl_TanD ( double  a) [inline, static]

Returns the tangent of the input argument.

static float pl_TanF ( float  a) [inline, static]

Returns the tangent of the input argument.

static double pl_TanhD ( double  a) [inline, static]

Returns the hyperbolic tangent of the input argument.

static float pl_TanhF ( float  a) [inline, static]

Returns the hyperbolic tangent of the input argument.

static double pl_ThreshD ( double  a,
double  b 
) [inline, static]

If a is less than b returns 0 otherwise return a.

static float pl_ThreshF ( float  a,
float  b 
) [inline, static]

If a is less than b returns 0 otherwise return a.

static double pl_ZapD ( double  x) [inline, static]

Returns the input argument with infinities, NaNs and denormallised numbers removed.

static float pl_ZapF ( float  x) [inline, static]

Returns the input argument with infinities, NaNs and denormallised numbers removed.

from music-dsp list

 All Classes Functions Typedefs Enumerations Enumerator Properties