modelToArray

fun <T : Any> modelToArray(model: T): DoubleArray(source)

converts a model to an array of doubles