fromRowMajorArray

fun fromRowMajorArray(values: ReadonlyArray<Double>, result: Matrix3? = definedExternally): Matrix3(source)

Creates a Matrix3 instance from a row-major order array. The resulting matrix will be in column-major order.

Return

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

Parameters

values

The row-major order array.

result

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

See also