api / koma.util / fromCollection

fromCollection

fun fromCollection(collection:Collection<Double>):DoubleArray fun fromCollection(collection:Collection<Int>):IntArray

Converts a collection into a primitive DoubleArray