FUNCTION | DEFINITION |
abs |
Absolute value of x. (eg: abs(x) ) |
avg |
Average of all the inputs. (eg: avg(x,y,z,w,u,v) == (x + y + z + w + u + v) / 6 ) |
ceil |
Smallest integer that is greater than or equal to x. |
clamp |
Clamp x in range between r0 and r1, where r0 < r1. (eg:
clamp(r0,x,r1) ) |
equal |
Equality test between x and y using normalised epsilon |
erf |
Error function of x. (eg: erf(x) ) |
erfc |
Complimentary error function of x. (eg: erfc(x) ) |
exp |
![]() exp(x) ) |
expm1 |
![]() ![]() expm1(x) ) |
floor |
Largest integer that is less than or equal to x. (eg: floor(x) ) |
frac |
Fractional portion of x. (eg: frac(x) ) |
hypot |
![]() hypot(x,y) = sqrt(x*x + y*y) ) |
iclamp |
Inverse-clamp x outside of the range r0 and r1. Where
r0 < r1. If x is within the range it will snap to the closest
bound. (eg: iclamp(r0,x,r1)
![]() |
inrange |
In-range returns 'true' when ![]() ![]() ![]() inrange(r0,x,r1) ) |
log |
Natural logarithm ![]() log(x) ) |
log10 |
![]() log10(x) ) |
log1p |
![]() ![]() log1p(x) ) |
log2 |
![]() log2(x) ) |
logn |
![]() ![]() logn(x,8) ) |
max |
Largest value of all the inputs. (eg: max(x,y,z,w,u,v) ) |
min |
Smallest value of all the inputs. (eg: min(x,y,z,w,u) ) |
mul |
Product of all the inputs. (eg: mul(x,y,z,w,u,v,t) == (x * y * z * w * u * v * t) ) |
ncdf |
Normal cumulative distribution function. (eg: ncdf(x) ) |
nequal |
Not-equal test between ![]() ![]() |
pow |
![]() pow(x,y) == x ^ y ) |
root |
![]() ![]() root(x,3) == x^(1/3) ) |
round |
Round ![]() round(x) ) |
roundn |
Round ![]() ![]() roundn(x,3) )
where ![]() roundn(1.2345678,4) == 1.2346 ) |
sgn |
Sign of ![]() ![]() ![]() ![]() sgn(x) ) |
sqrt |
![]() ![]() sqrt(x) ) |
sum |
Sum of all the inputs. (eg: sum(x,y,z,w,u,v,t) == (x + y + z + w + u + v + t) ) |
swap |
|
<=> |
Swap the values of the variables x and y and return the current value of y. (eg: swap(x,y) or x <=> y ) |
trunc |
Integer portion of x. (eg: trunc(x) ) |