linspace function
Implementation
Array linspace(
{required double start, required double end, required int count}) {
return Array(values: [
for (var i in range(end: count)) [interpolate(start, end, i / (count - 1))]
]);
}
Array linspace(
{required double start, required double end, required int count}) {
return Array(values: [
for (var i in range(end: count)) [interpolate(start, end, i / (count - 1))]
]);
}