unpackArray

fun unpackArray(array: ReadonlyArray<Double>, result: ReadonlyArray<Matrix2>? = definedExternally): ReadonlyArray<Matrix2>(source)

Unpacks an array of column-major matrix components into an array of Matrix2s.

Return

The unpacked array.

Parameters

array

The array of components to unpack.

result

The array onto which to store the result.

See also