Operators and functions
From ObjectVision
Operators and functions are used in expressions to calculate with data items and or constants.
Operators
An Operator is a symbolic presentation of a function to be applied on operands.
Functions
Functions express dependences between items. A function associates a single output to each input element. Functions in the GeoDMS are categorized in the following function groups:
- Arithmetic: basic mathematical functions, like add, divide or sqrt
- Ordering: to compare/order data items like eq, less than, argmax or sort
- Aggregation: to aggregate data items to other Domain units like sum or mean
- Conversion: to convert data items to other Values Types or Values units or other notations like rgb or asHex.
- Classify: to classify quantities to class units
- Transcendental: functions transcending algebra, like exponential and logarithm
- Predicates: to check conditions, like IsDefined of IsNull.
- Logical: to provide basic comparisons, returning in boolean data items like iff or any
- Logical: to relate data items of different domain units like lookup or rjoin
- Rescale: to scale data items to new distributions
- Constant: to define constant values like pi or true
- Trigonometric: operate on angles like sinus or cosinus.
- Geometric: geometric operations on points, arcs and polygons
- Network: to build and calculate network topologies like connect or Dijkstra
- Grid: to calculate with attributes of two-dimensional Domain units like potential or district
- Network: operate on data items with string Value Types like left or strcount
- File: operate on folders and files, like MakeDir or storage_name
- Matrix: to perform matrix calculations, like matrix multiplication or | matrix inverse
- Sequence: process data items with one-dimensional sequences.
- MetaScript: used to generate script, based on a set of iterations, like for_each
- Allocation: mainly used for LandUse Allocation, like discrete_alloc
- Unit: to define and get information of unit items, like subset and lowerbound
- Miscellaneous: remaining functions not categorized in other groups, like rnd_uniform or PropValue