linspace

fun linspace(start: Double, end: Double, num: Int): List<Double>

Creates a linearly spaced array of values.

Return

List of evenly spaced values

Parameters

start

Starting value

end

Ending value (inclusive)

num

Number of points to generate