withFixedStep

fun Buffer.Companion.withFixedStep(range: ClosedFloatingPointRange<Double>, step: Double): DoubleBuffer

Create a Buffer-based grid with equally distributed points with a fixed step. The range could be increasing or decreasing. If the step is larger than the range size, single point is returned.

Sources

common source
Link copied to clipboard