sin

sin

Sine

Result = sin(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 sine of the cell value on expression 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 = sin(Expr);

    • python
    Expr = readmap(“Expr.map”)
    Result = sin(Expr)
    Result.map Expr.map
    _images/sin_Result.png _images/sin_Expr.png

Table Of Contents

Previous topic

shift,shift0

Next topic

slope