/** * Creates a new matrix which is equivalent to the provided matrix. Note that * the length of the data will be determined by the shape of the matrix. * * @param orig The matrix which is to be copied. This is not modified or saved. */ public FMatrixRMaj(FMatrixRMaj orig) : this(orig.numRows, orig.numCols) { Array.Copy(orig.data, 0, this.data, 0, orig.getNumElements()); }