Sets the elements of the matrix from the given array.
A reference to this matrix.
The matrix elements in column-major order.
Index of the first element in the array.