linRangeByStep
- fathon.fathonUtils.linRangeByStep(start, end, step=1)
Array of linearly separated elements.
- Parameters:
start (int) – Smallest element.
end (int) – Biggest element.
step (int) – Step between two consecutive elements (default : 1).
- Returns:
Array of linearly separated elements.
- Return type:
numpy ndarray
Usage examples
from fathon import fathonUtils as fu
#linearly separated elements
a = fu.linRangeByStep(10, 100, step=2)