min

Result = min(expression1, expression2, ..., expressionN)
expression

spatial, non spatial ordinal, scalar; expression1-N must have the same data type

Result

spatial, if all expression1, expression2,…expressionN are non spatial: non spatial type of expression1-N

Operation

For each cell, the minimum value of expression1, expression2,…expressionN is determined and assigned to the corresponding cell for Result. As many expressions can be specified as needed.

Notes

A cell with missing value on one or more expressions results in a missing value on the corresponding cell on Result.

Group

This operation belongs to the group of Maximize, minimize

Examples

  1. • pcrcalc
    binding
    Result1 = Result1.map;
    Expr1 = Expr1.map;
    Expr2 = Expr2.map;
    initial
    report Result1 = min(Expr1,Expr2);

    • python
    Expr1 = readmap(“Expr1.map”)
    Expr2 = readmap(“Expr2.map”)
    Result1 = min(Expr1,Expr2)

    Result1.map

    Expr1.map

    Expr2.map

    ../../_images/min_Result1.png ../../_images/max_Expr1.png ../../_images/max_Expr2.png