tan

tan

Tangent

Result = tan(expression)
expression
spatial, non spatial directional, scalar
Result
dimension of expression scalar

Options

--degrees or --radians

--degrees
if expression is a number then the unit is degrees (default)
--radians
if expression is a number then the unit is radians

Operation

For each cell, calculates the tangent of expression cell value and assigns it to Result.

Notes

A cell with 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 = tan(Expr);

    • python
    Expr = readmap(“Expr.map”)
    Result = tan(Expr)
    Result.map Expr.map
    _images/tan_Result.png _images/tan_Expr.png

Table Of Contents

Previous topic

succ

Next topic

time