Functions
|
# of Args |
Description
|
|
|
|
if()
|
3
|
conditional - if (condition, IfT
rue-expr, IfFalse-expr) - in expr~ if 'condition' is a signal, the result
will be determined on sample by sample basis (added in version 0.4)
|
|
|
|
int ()
|
1
|
convert to integer
|
rint ()
|
1
|
round a float to a nearby integer
|
float ()
|
1
|
convert to float
|
min ()
|
2
|
minumum
|
max ()
|
2
|
maximum |
abs()
|
1
|
absolute value
(added in version 0.3)
|
if()
|
3
|
conditional - if (condition, IfT
rue-expr, IfFalse-expr) - in expr~ if 'condition' is a signal, the result
will be determined on sample by sample basis (added in version 0.4)
|
isinf()
|
1
|
is the value infinite (added in version
0.4)
|
finite()
|
1
|
is the value finite (added in version
0.4)
|
isnan
|
1
|
is the value non a number (added in version
0.4)
|
copysign()
|
1
|
copy sign of a number(added in version 0.4)
|
imodf
|
1 |
get signed intergar value from floating
point number(added in version 0.4)
|
modf
|
1
|
get signed fractional value from floating-point
number(added in version 0.4)
|
drem
|
2
|
floating-point remainder function (added
in versio n 0.4)
|
|
|
|
power functions
|
|
|
pow ()
|
2
|
raise to the power of {e.g.,
pow(x,y) is x to the power of y}
|
sqrt ()
|
1
|
square root
|
exp()
|
1
|
e raised to the power of the
argument {e.g., exp(5.2) is e raised to the power of 5.2}
|
ln() and log()
|
1
|
natural log
|
log10()
|
1
|
log base 10
|
fact()
|
1
|
factorial
|
erf()
|
1
|
error function (added in version
0.4)
|
erfc()
|
1
|
complementary error function
(added in version 0.4)
|
cbrt()
|
1
|
cube root (added in version
0.4)
|
expm1()
|
1
|
exponential minus 1 (added
in version 0.4)
|
log1p()
|
1
|
logarithm of 1 plus (added
in version 0.4)
|
ldexp()
|
1
|
multiply floating-point number
by integral power of 2 (added in version 0.4)
|
|
|
|
Trigonometric
|
|
|
sin()
|
1
|
sine
|
cos()
|
1
|
cosine
|
tan()
|
1
|
tangent
|
asin()
|
1
|
arc sine
|
acos()
|
1
|
arc cosine
|
atan()
|
1
|
arc tangent
|
atan2()
|
2
|
arc tangent of 2 variables
|
sinh()
|
1
|
hyperbolic sine
|
cosh()
|
1
|
hyperbolic cosine
|
tanh()
|
1
|
hyperbolic tangent
|
asinh()
|
1
|
inverse hyperbolic sine
|
acosh()
|
1
|
inverse hyperbolic cosine
|
atan()
|
1
|
inverse hyperbolic tangent
|
floor()
|
1
|
largest integral value not greater than
argument (added in version 0.4)
|
ceil()
|
1
|
smallest integral value not less than
argument (added in version 0.4)
|
fmod()
|
1
|
floating-point remainder function
(added in version 0.4)
|
|
|
|
Table Functions
|
|
|
size()
|
1
|
size of a table
|
sum()
|
1
|
sum of all elements of a table
|
Sum()
|
3
|
sum of elemnets of a specified
boundary of a table
|
|
|
|