real
real |
Purpose
Declare the entity to be (or to contain) floating-point (whole number) values. If not specified, the default value is
0.0.
Example
Example of declaring a scalar entity to be a floating-point value.
>>> my_real: xi.Scalar(dtype=xi.real) >>> my_real: xi.Scalar(100.0) >>> my_real: xi.Scalar(123.456)
Related topics