sqr

sqr

Square

Result = sqr(expression)
expression
spatial, non spatial scalar
Result
dimension of expression scalar

Operation

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

Notes

A cell with a missing value on expression is assigned a missing value on Result.

Group

This operation belongs to the group of Arithmetic operators

Examples

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

    • python
    Expr = readmap(“Expr.map”)
    Result = sqr(Expr)

    Result.map

    Expr.map

    _images/sqr_Result.png _images/sqr_Expr.png

Table Of Contents

Previous topic

spreadzone

Next topic

sqrt