fromRange

fun Buffer.Companion.fromRange(range: ClosedFloatingPointRange<Double>, numberOfPoints: Int): DoubleBuffer

Create a Buffer-based grid with equally distributed numberOfPoints points. The range could be increasing or decreasing. If range has a zero size, then the buffer consisting of numberOfPoints equal values is returned.

Sources

common source
Link copied to clipboard