cos¶
Result = cos(expression)
- expression
spatial, non spatial directional, scalar
- Result
dimension of expression scalar
Options¶
if expression is a number: --degrees
or --radians
--degrees
direction is measured in degrees (default)
--radians
direction is measured in radians
Operation¶
For each cell, calculates the cosine of the cell value on expression and assigns it to Result.
Notes¶
A cell with a missing value on expression is assigned a missing value on Result.
If expression is of directional data type, a cell on expression without a direction (cell value -1) is assigned a missing value.
Group¶
This operation belongs to the group of Arithmetic operators
Examples¶
- • pcrcalcbindingResult = Result.map;Expr = Expr.map;initialreport Result = cos(Expr);• pythonExpr = readmap(“Expr.map”)Result = cos(Expr)
Result.map
Expr.map