toArray

fun toArray(array: MutableList<Double> = mutableListOf(), offset: Int = 0): MutableList<Double>

Writes the elements of this matrix into array at offset (column-major order), growing the list as needed, and returns it.

Return

The matrix elements in column-major order.

Parameters

offset

Index of the first element in the array.