fromColumnMajorArray

fun fromColumnMajorArray(values: ReadonlyArray<Double>, result: Matrix2? = definedExternally): Matrix2(source)

Creates a Matrix2 instance from a column-major order array.

Return

The modified result parameter, or a new Matrix2 instance if one was not provided.

Parameters

values

The column-major order array.

result

The object in which the result will be stored, if undefined a new instance will be created.

See also