integer
integer |
Purpose
Declare the entity to be (or to contain) integer (whole number) values. The values must able to be represented as 32-bit unsigned values. If not specified, the default value is
0.
Example
Example of declaring a scalar entity to be integer.
>>> my_int: xi.Scalar(dtype=xi.integer) ... my_int: xi.Scalar(0) ... my_int: xi.Scalar(100) ... my_int: xi.Scalar(-10)
Related topics