Graphics Reference
In-Depth Information
Hyperbolic functions
Function
Reverse
sinh (x)
asinh (x)
cosh (x)
acosh (x)
tanh (x)
atanh (x)
csch (x)
acsch (x)
sech (x)
asech (x)
coth (x)
acoth (x)
Exponential and logarithmic functions
Function
Meaning
exp (x)
Exponential function in base e (e ^ x)
log (x)
Function for the logarithm base e of x
log10 (x)
The logarithm base 10 of x
log2 (x)
The logarithm base 2 of x
pow2 (x)
Power function-base 2 of x
sqrt (x)
Square root of x
Numeric variable-specific functions
Function
Meaning
abs (x)
Absolute value of the real x
floor (x)
The largest integer less than or equal to the real x
ceil (x)
The smallest integer greater than or equal to the real x
round (x)
The closest integer to the real x
fix (x)
Eliminates the decimal part of the real x
rem (a, b)
It gives the remainder of the division between the real a and b
sign (x)
Sign of the real x (1 if x > 0, - 1 if x < 0)
Here are some examples:
>> sin(pi/2)
Ans =
1
 
Search WWH ::




Custom Search