uniformNDFromRanges
fun <V : Any, A : Field<V>> Histogram.Companion.uniformNDFromRanges(valueAlgebraND: FieldOpsND<V, A>, vararg ranges: ClosedFloatingPointRange<Double>, bufferFactory: BufferFactory<V> = Buffer.Companion::boxing): UniformHistogramGroupND<V, A>
Content copied to clipboard
Use it like
FastHistogram.fromRanges(
(-1.0..1.0),
(-1.0..1.0)
)
Content copied to clipboard
fun <V : Any, A : Field<V>> Histogram.Companion.uniformNDFromRanges(valueAlgebraND: FieldOpsND<V, A>, vararg ranges: Pair<ClosedFloatingPointRange<Double>, Int>, bufferFactory: BufferFactory<V> = Buffer.Companion::boxing): UniformHistogramGroupND<V, A>
Content copied to clipboard
Use it like
FastHistogram.fromRanges(
(-1.0..1.0) to 50,
(-1.0..1.0) to 32
)
Content copied to clipboard