The starting value of the range.
The ending value of the range.
The number of intervals to divide the range into. Defaults to 100.
Whether to include the endpoint (x2
) in the range. Defaults to false
.
An array of evenly spaced numbers between x1
and x2
.
Generates an array of evenly spaced numbers between
x1
andx2
.By default, the range is exclusive of the endpoint (
x2
). If theinclusive
option is set totrue
, the endpoint will be included.