toArray

Converts the transformation matrix to an array representation. The array is structured in row-major order.

Return

A double array representing the transformation matrix.