linspace<T extends num> function
Implementation
Iterable<T> linspace<T extends num>(T start, T stop, [int count = 100]) {
if (start is int && stop is int) {
return IntRange.linspace(start.toInt(), stop.toInt(), count) as Iterable<T>;
} else {
return DoubleRange.linspace(start.toDouble(), stop.toDouble(), count)
as Iterable<T>;
}
}