kgp.utilities / IntervalSequenceGenerator / generate

generate

fun generate(start: Double, end: Double, step: Double): Sequence<Double>

Generates a sequence of doubles between start and end exclusive, in intervals of step.

Parameters

start - The starting point of the sequence.

end - The end point of the sequence (exclusive).

step - The interval to space values with in the sequence.