toArray
fun toArray(matrix: Matrix2, result: ReadonlyArray<Double>? = definedExternally): ReadonlyArray<Double>(source)
Creates an Array from the provided Matrix2 instance. The array will be in column-major order.
Return
The modified Array parameter or a new Array instance if one was not provided.
Parameters
matrix
The matrix to use..
result
The Array onto which to store the result.