mm.math.arange¶
- math.arange(limit=None, delta=1, dtype=None)¶
Returns an array of evenly spaced values within a given interval.
- Parameters:
start (
int
) – The start of the interval.limit (
int
) – The end of the interval.delta (
int
) – The step size.dtype (
Any
) – The dtype of the returned array.
- Return type:
ndarray
[Tuple
[int
,...
],Union
[TypeVar
(R
,float16
,float32
,float64
),TypeVar
(C
,complex64
,complex128
),TypeVar
(Z
,int16
,int32
,int64
),TypeVar
(N
,uint16
,uint32
,uint64
)]]- Returns:
The array of evenly spaced values.
code/api/mrmustard.math.arange
Download Python script
Download Notebook
View on GitHub