randspace¶
- emlib.mathlib.randspace(begin, end, numsteps, include_end=True)[source]¶
go from begin to end in numsteps at randomly spaced steps
- Parameters:
begin (
float
) – start numberend (
float
) – end numbernumsteps (
int
) – number of elements to generateinclude_end – include the last value (like np.linspace)
- Return type:
list
[float
]- Returns:
a list of floats of size numsteps going from begin to end