kotlin-numpy / org.jetbrains.numkt.random / Random / dirichlet

dirichlet

fun <T : Number> dirichlet(alpha: Array<T>, vararg size: Int? = emptyArray()): KtNDArray<Double> (source)

Draw samples from the Dirichlet distribution.