# cos¶

cos

Cosine

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)

## 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¶

1. • pcrcalc
binding
Result = Result.map;
Expr = Expr.map;
initial
report Result = cos(Expr);

• python