linspace

open fun linspace(d1: Double, d2: Double, n: Int): Array<Double>(source)

generates n linearly-spaced points between d1 and d2.

Return

an array of lineraly space points.

Parameters

d1

The min value

d2

The max value

n

The number of points to generated