- The Quantitative Supply Chain Manifesto
- The Lokad test of supply chain performance
- Overview of quantitative supply chain
- Generalized probabilistic forecasting
- Decision-driven optimization
- Economic drivers
- Data preparation
- The Supply Chain Scientist
- Timeline of a typical project
- Assessing success
- Antipatterns in supply chain

- Inventory forecasting
- Prioritized ordering report
- Old forecasting input file format
- Old forecasting output file format
- Choosing the service levels
- Managing your inventory settings
- The old Excel forecast report
- Using tags to improve accuracy
- Oddities in classic forecasts
- Oddities in quantile forecasts
- Stock-out's bias on quantile forecasts
- Daily, weekly and monthly aggregations

Home » Resources » Here

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

`==`

: equality (case-sensitive when comparing text)`!=`

: inequality (case-sensitive when comparing text)`<`

: less than`>`

: greater than`<=`

: less than or equal to`>=`

: greater than or equal to`~~`

: case-insensitive and accentuation-insensitive equality (restricted to text comparison)`!~`

: inequality reversing`~~`

Ordering of values is the same for all Envision constructs (such as

`order by`

, `rank`

or `median`

):
- numbers are sorted in ascending order
- dates are sorted in chronological order
`false < true`

- text values are sorted in alphabetical order (specifically, by Unicode code points)

`+`

: addition`-`

: subtraction`*`

: multiplication`/`

: division`/.`

: division hardened against division by zero,`a /. b`

is equivalent of`a / max(1, b)`

`mod`

: remainder of the integral division`^`

: power

Some numeric operators can be used for dates:

`date - date`

is the number of days between two dates`date + number`

and`date - number`

adds or subtracts days to a date

`&`

: logical AND`|`

: logical OR`not`

: logical NOT`c ? a : b`

: the conditional operator, also referred as the*ternary if*. Note that`a`

,`b`

and`c`

are first evaluated separately.

`+`

: point-wise addition`-`

: point-wise subtraction`*`

: point-wise multiplication`<<`

: left shift`>>`

: right shift

`+*`

: additive convolution`-^`

: subtractive convolution`**`

: multiplicative convolution (Dirichlet convolution)`^*`

: convolution power

`&`

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`

.
`^`

,`^*`

,`>>`

,`<<`

`*`

,`/`

,`/.`

and`mod`

`-`

,`+`

,`+*`

,`-*`

,`**`

`<`

,`<=`

,`==`

,`!=`

,`~~`

,`!~`

,`>`

,`>=`

,`~~`

and`!~`

`not`

`&`

`|`