kgp.utilities / IntervalSequenceGenerator

IntervalSequenceGenerator

class IntervalSequenceGenerator

A component that can generate sequences of doubles with a specified interval.

Constructors

<init> IntervalSequenceGenerator()

A component that can generate sequences of doubles with a specified interval.

Functions

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.