QType Type
QType represents the data types that are available in the Quartz language. Qbool and Qreal implement booleans and real numbers (NOT floats), respectively. Qbtv, Qnat, and Qint represent bitvectors, natural numbers, and integer numbers that can be bounded or unbounded. The unbounded case is indicated with argument "None", while Qbtv(Some len) denotes bitvectors with "len" bits, and Qnat(Some bl) and Qint(Some bl) represent the numbers {0,...,N-1} {-N,...,N-1}, respectively, where bl is the radix-2 representation of N. Qarr(dim,qty) represents arrays with dimension dim whose elements have type qty, and Qtup tyL represents tuples consisting of elements (e1,...,en) having types tyL=[ty1;...;tyn].
Union cases
Union case | Description |
|
real numbers
|
Full Usage:
Qbool
|
|
Full Usage:
Qbtv int option
Parameters:
int option
|
|
Full Usage:
Qint bool list option
Parameters:
bool list option
|
bounded/unbounded unsigned integers
|
Full Usage:
Qnat bool list option
Parameters:
bool list option
|
bitvectors of finite/infinite length
|
Full Usage:
Qreal
|
bounded/unbounded signed integers |
|
array with index space and base type
|
Instance members
Instance member | Description |
Full Usage:
this.IsQarr
Returns: bool
|
|
Full Usage:
this.IsQbool
Returns: bool
|
|
Full Usage:
this.IsQbtv
Returns: bool
|
|
Full Usage:
this.IsQint
Returns: bool
|
|
Full Usage:
this.IsQnat
Returns: bool
|
|
Full Usage:
this.IsQreal
Returns: bool
|
|
Full Usage:
this.IsQtup
Returns: bool
|
|