linRangeByCount
- fathon.fathonUtils.linRangeByCount(start, end, count=-1)
Array of linearly separated elements.
- Parameters:
start (int) – Smallest element.
end (int) – Biggest element.
count (int) – Number of elements (default : end - start + 1).
- Returns:
Array of linearly separated elements.
- Return type:
numpy ndarray
Usage examples
from fathon import fathonUtils as fu
#linearly separated elements
a = fu.linRangeByCount(10, 100, count=42)