Built-in functions that can be invoked directly from UAM map files.
More...
Built-in functions that can be invoked directly from UAM map files.
This submodule provides a list of available functions in UAM synthax files.
◆ absolute_value()
Find the absolute value of the first defined expression.
- Template Parameters
-
- Parameters
-
results | Vector of expressions results. |
- Returns
- The absolute value of the dirst defined expressions. Returns "undefined" value if all of the expression are undefined
◆ are_all_defined()
Checks if all the expressions are defined (i.e. have a result)
- Template Parameters
-
- Parameters
-
results | Vector of expressions results. |
- Returns
- true if all expressions are defined (have a value)
-
false if any expressions is undefined (does not have a value)
◆ are_all_undefined()
Checks if all of the expressions are undefined (i.e. do not have a result)
- Template Parameters
-
- Parameters
-
results | Vector of expressions results. |
- Returns
- true if all expressions are defined (have a value)
-
false if any expressions is undefined (does not have a value)
◆ average_value()
Find the average value of a set of expressions.
- Template Parameters
-
- Parameters
-
results | Vector of expressions results. |
- Returns
- The average value of the list of expressions. Returns "undefined" value if any of the expression is undefined
◆ is_any_defined()
Checks if any of the expressions are defined (i.e. have a result)
- Template Parameters
-
- Parameters
-
results | Vector of expressions results. |
- Returns
- true if all expressions are defined (have a value)
-
false if any expressions is undefined (does not have a value)
◆ is_any_undefined()
Checks if any of the expressions are defined (i.e. have a result)
- Template Parameters
-
- Parameters
-
results | Vector of expressions results. |
- Returns
- true if all expressions are defined (have a value)
-
false if any expressions is undefined (does not have a value)
◆ log10()
Computes the log10 of the first defined argument.
- Template Parameters
-
- Parameters
-
results | Vector of expressions results. |
- Returns
- undefined value if if all expressions are undefined (do not have a value)
-
log10 value otherwise
◆ max_value()
Find the max value of a set of expressions.
- Template Parameters
-
- Parameters
-
results | Vector of expressions results. |
- Returns
- The maximum value of the list of expressions. Returns "undefined" value if any of the expression is undefined
◆ min_value()
Find the min value of a set of expressions.
- Template Parameters
-
- Parameters
-
results | Vector of expressions results. |
- Returns
- The minimum value of the list of expressions. Returns "undefined" value if any of the expression is undefined