range

fun range(begin: Double, end: Double, samples: Int): List<Double>

Partitions \(a, b\) into \((n - 1)\) equal intervals and returns the endpoints.

Parameters

begin

\(a\)

end

\(b\)

samples

\(n\)