Special Tab
Use the Special tab to access a range of specialized functions used in mathematical expressions.
Tooltips are available for each tab item, showing the required argument and a brief description.
Special Tab options
Button |
Syntax |
Definition |
---|---|---|
Math Functions |
||
|
min(,) | Returns the minimum value of two channels for each row. |
|
max(,) |
Returns the maximum value of two channels for each row. |
|
div(,) |
Performs integer division of two channels per row.
|
|
sign(,) |
Transfers the sign of the fist argument to the second. Examples: SIGN(-1,10) = -10 SIGN(-1,-10) = -10 SIGN(1,10) = 10 SIGN(1,-10) = 10 |
|
ceil() |
Returns the next highest whole value of the specified channel. |
|
floor() |
Returns the next lowest whole value of the specified channel. |
|
abs() |
Returns the absolute value of the specified channel. |
|
round() |
Rounds the value of the specified channel to the nearest whole value. |
Data Functions |
||
|
window(,,) |
The leftmost argument is a channel, while arguments 2 & 3 define the minimum and maximum of a range. Values outside the defined range (min, max) are set to DUMMY. |
|
clip(,,) |
The leftmost argument is a channel, while arguments 2 & 3 define the minimum and maximum of a range. Values outside the range are replaced with the nearest boundary value (min or max). |
Miscellaneous |
||
|
randbetween (,) |
Generates random numbers between the specified minimum and maximum values. To create a new channel and populate it with random values, you must indicate the channel used to derive fiducial information (start & increment). This is done by specifying the base channel at the end of the equation after the semicolon: C0=ranbetween(1,100);C1 This expression creates channel C0 with values aligned to the same fiducials as C1. |
Application Notes
If the output channel does not already exist, and the expression doesn’t reference another channel with required attributes (start fiducial, increment, data type), you’ll be prompted to specify a master channel from which to extract these details.
Got a question? Visit the Seequent forums or Seequent support
Copyright (c) 2025 Bentley Systems, Incorporated. All rights reserved.
Privacy | Terms of Use