You can use numeric functions to evaluate values in a single input raster. Examples of functions are logarithmic, trigonometric, arithmetic, etc.
Function | Meaning |
---|---|
abs(x) | Absolute value of x |
acos(x) | Arc cosine of x |
aln(x) | Anti natural log, e^x |
alog(x) | Anti log, 10^x |
asin(x) | Arc sine of x |
atan(x) | Arc tan of x |
atan2(x,y) | Arc tan of x/y |
ceil(x) | Rounds a value of x up to the nearest multiple of significance. |
cos(x) | Cosine of x |
cosh(x) | Hyperbolic cosine of x |
degtorad(x) | Convert x degrees to radians |
diff(x,y) | Absolute value of x-y |
exp(x) | e^x |
floor(x) | Rounds a value of x down to the nearest multiple of significance. |
int(x) | Convert real value x to an integer |
ln(x) | Natural log of x (base e) |
log(x) | Log of x (base 10) |
max(x,y) | Maximum value out of x and y |
min(x,y) | Minimum value out of x and y |
mod(x,y) | The floating-point remainder of x/y (rounded towards zero) e.g. mod(5.3,2.0) = 1.3 |
pow(x,y) | x^y |
radtodeg(x) | Convert x radians to degrees |
rand() | Returns a pseudo-random number between 0.0 and 1.0 |
round(x,y) | Rounds the value, x, to the nearest multiple of y. For example,
|
sin(x) | Sine of x |
sinh(x) | Hyperbolic sine of x |
sqrt(x) | Square root of x |
tan(x) | Tan of x |
tanh(x) | Hyperbolic tan of x |