List of operators

The operators are algebraic primitives powering Envision. Below, we list the operators supported by Envision.

Generic operators

The following operators are supported by all types:

Ordering of values

Ordering of values is the same for all Envision constructs (such as order by, rank or median):

Text operators

Numeric operators

The following numeric operators are supported:

Some numeric operators can be used for dates:

Logical operators

The following logical operators are supported:

Ranvars operators

Ranvars benefit from specific operators (see also algebra of ranvars):

Translation of ranvars (left and right shifts) are performed by convolving the ranvar with the appropriate Dirac delta ranvar (see operation +* dirac()).

Zedfuncs operators

Zedfuncs benefit from specific operators (see also algebra of zedfuncs):

Operator precedence

The operators below are listed in increasing order of precedence. For instance, since & is before |, then A | B & C is interpreted as A | (B & C). Operators with the same precedence are grouped left-to-right: A * B / C is (A * B) / C.