arrange

fun Range<Double>.arrange(step: Double, includeClosedEndPoint: Boolean = false, tolerance: Double): DoubleArray

Arranges an array of Double with step size.

Return

DoubleArray of arranged values from lowerEndPoint to upperEndPoint of Range

Parameters

step

size between two values

includeClosedEndPoint

true, if endpoint of the Range is to be included

tolerance

tolerance for checking whether endpoint is already included