io.data2viz.random.uniform.kt Maven / Gradle / Ivy
package io.data2viz.random
fun randomUniform(min: Number = 0, max: Number = 1): () -> Double = {
random() * (max.toDouble() - min.toDouble()) + min.toDouble()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy