...
Name
lgo — Logical operation between two grids
Syntax
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
lgo lgo_number lo | hi workspacename |
Description
Logical grid to grid operation performed between active grid and a grid in a workspace.
Arguments
lgo_number
Logical operation number. The numbers are from 1 to 10 as explained below.
Info | ||
---|---|---|
| ||
Assume the grids are zlo and zhi. and zhi_is_defined.
b3=zlo_is_undefined.
is the new grid node. 1: if ( b1 ) v = max(zlo,zhi)
if ( b1 ) v = min(zlo,zhi)
if ( b3 ) v = zhizhi if ( !b1 ) v = undefinedundefined if ( !( b1 and zhi lt zlo ) and !( b1 and zlo lt zhi ) ) v = zhizhi if ( !( b1 and zhi gt zlo ) and !( b1 and zlo gt zhi ) ) v = zhizhi if ( b1 and zhi lt zlo ) v = zhizhi if ( b1 and zlo gt zhi ) v = zlozlo if ( b1 and zlo gt zhi ) v = undefinedundefined if ( zhi gt zlo ) v = undefined {info} *lo* {indent}Result grid is active dataset.{indent} *hi* {indent}Result grid is placed in workspace _workspacename_.{indent} _workspacename_ {indent}Name in workspace of second grid.{indent} h2. See also [add], [sub], [mul], [rep]undefined |
lo
Result grid is active dataset.
hi
Result grid is placed in workspace workspacename.
workspacename
Name in workspace of second grid.
See also
add - Add to dataset, sub - Subtract operation, mul - Multiply operation, rep - Replace