pub fn arange<'py>(py: Python<'py>, start: T, stop: T, step: T) -> &'py Self {
        unsafe {
            let ptr = PY_ARRAY_API.PyArray_Arange(
                start.as_(),
                stop.as_(),
                step.as_(),
                T::typenum_default(),
            );
            Self::from_owned_ptr(py, ptr)
        }
    }
/// Return evenly spaced values within a given interval.
/// Same as [numpy.arange](https://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html).
///
/// See also [PyArray_Arange](https://docs.scipy.org/doc/numpy/reference/c-api.array.html#c.PyArray_Arange).
///
/// # Example
/// ```
/// # extern crate pyo3; extern crate numpy; fn main() {
/// use numpy::PyArray;
/// let gil = pyo3::Python::acquire_gil();
/// let pyarray = PyArray::arange(gil.python(), 2.0, 4.0, 0.5);
/// assert_eq!(pyarray.as_slice(), &[2.0, 2.5, 3.0, 3.5]);
/// let pyarray = PyArray::arange(gil.python(), -2, 4, 3);
/// assert_eq!(pyarray.as_slice(), &[-2, 1]);
/// # }
Return evenly spaced values within a given interval.


Return evenly spaced values within a given interval .
pub fn arange<'py>(py: Python<'py>, start: T, stop: T, step: T) -> &'py Self {
        unsafe {
            let ptr = PY_ARRAY_API.PyArray_Arange(
                start.as_(),
                stop.as_(),
                step.as_(),
                T::typenum_default(),
            );
            Self::from_owned_ptr(py, ptr)
        }
    }
pub fn arange < ' py > ( py : Python < ' py > , start : T , stop : T , step : T ) -> & ' py Self { unsafe { let ptr = PY_ARRAY_API . PyArray_Arange ( start . as_ ( ) , stop . as_ ( ) , step . as_ ( ) , T :: typenum_default ( ) , ) ; Self :: from_owned_ptr ( py , ptr ) } }
Return evenly spaced values within a given interval.
Return evenly spaced values within a given interval .
py
Python<'py>
start
T
stop
T
step
T
py
Python<'py>
start
T
stop
T
step
T
example
None
extern crate pyo3; extern crate numpy; fn main() {
None
}
None