Category: Generation
Short description: Range operation generates a sequence of numbers according input values [start, stop) with a step.
Attributes:
No attributes available.
Inputs:
Outputs:
Types
Detailed description:
Range operation generates a sequence of numbers starting from the value in the first input (start) up to but not including the value in the second input (stop) with a step equal to the value in the third input, according to the following formula:
For a positive step
:
\[ start<=val[i]<stop, \]
for a negative step
:
\[ start>=val[i]>stop, \]
where
\[ val[i]=start+i*step \]
Examples
Example 1: positive step
Example 2: negative step