stormpy.numbersΒΆ
Number types of Storm.
The Python types matching the value types used by Storm in C++:
float:doubleRational:storm::RationalNumber(exact arithmetic)Integer: integer type ofstorm::RationalNumber(arbitrary precision)RationalFunction:storm::RationalFunction(parametric models), with coefficients of typeRationalFunctionCoefficientand the (factorized)Polynomialor the non-factorizedRawPolynomialInterval:storm::Interval(interval models)RationalInterval:storm::RationalInterval(exact interval models)
The value types are also available directly in stormpy, e.g. stormpy.Rational is stormpy.numbers.Rational.
They select template instantiations, e.g. stormpy.build_model[stormpy.Rational](program).
Parameters of parametric models are represented by Variable objects.
Functions
Clear all pools. |
|
|
Check whether the value is positive infinity. |
|
Check whether the value is negative infinity. |
|
Get a variable from the pool with the given name. |
Classes
|
Class wrapping gmp-integers |
|
|
|
Class wrapping gmp-rational numbers |
|