ValueSet Module
Creates a sorted set of values, intersects, prunes and calculates with value sets, and expands a minimum, increment and maximum to a value set. Raises a solver exception for an empty set.
Functions and values
| Function or value |
Description
|
||||
|
|||||
|
|||||
|
|||||
Create a
|
|||||
|
|||||
|
|||||
|
|||||
|
|||||
|
|||||
|
|||||
Check if a
|
|||||
|
|||||
|
|||||
|
Create a
If the increment is the result of a calculation, it is possible
that the set will contain more values that would be obtained by the
calculation. If you multiply a
|
||||
|
|||||
|
|||||
|
Prune the With an increment, the multiples of the finest step that leaves at most n values are kept. A step counts when it is in the unit group of the values and is a multiple of the increment, compared in the unit of the values. Without a step for the unit group the step is 1, then multiples of 1. When a step leaves more than n values and the next fewer than two, or there is no next step, the multiples of that step times m are kept. The minimum and maximum come back only when fewer than two values remain. Without an increment, n values are kept spread over the set. |
||||
Full Usage:
toMarkdown prec vs
Parameters:
int
-
The precision to print values with
vs : ValueSet
-
The ValueSet
Returns: string
|
Get a markdown representation of a
|
||||
Full Usage:
toString exact vs
Parameters:
bool
-
Whether values should be printed 'exact'
vs : ValueSet
-
The ValueSet
Returns: string
|
Get a string representation of a
|
||||
|
GenPRES