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