numpy.arange

Numpy Arrays > numpy.arange

numpy.arange([//start//,] //stop// [,//step//,] [,//dtype//]) Default //start// is 0, Default //step// is 1, Default //dtype// is int64 (or determined by start, stop and step).

Returns evenly spaced values within a given interval. Does NOT include stop point. Reference: http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html Notice that this is not //**arrange**// but arange meaning **a range.** print x __ evaluate __ [0 1 2 3 4] || print x __ evaluate __ [2. 3. 4.] || print x __ evaluate __ [ 0. 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1. 1.1 1.2 1.3 1.4, 1.5 1.6 1.7 1.8 1.9]) ||
 * Example 1: Notice elements are integers. x=numpy.arange(5)[[image:blank15.png]]
 * Example 2: Basic - Notice elements are float64. x=numpy.arange(2,5,dtype=float)[[image:blank15.png]]
 * x=numpy.arange(0,2,.1)[[image:blank15.png]]