Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace > Matrix Class > Methods
Gives this instance its own copy of its elements.
Objects derived from Vector or Matrix may share an underlying storage structure. For example, the GetSubmatrix method of the Matrix class returns a Matrix that is a view on a part of a matrix. Changing an element in the submatrix changes the corresponding element in the original matrix.
This method ensures that this instance has its own copy of the data. After a call to this method, any changes to the elements of this Matrix will only affect this instance. Moreover, the elements are guaranteed to be in one contiguous block of memory.
This overload of the CloneData method stores elements in ColumnMajor elementOrder.
Matrix Class | Extreme.Mathematics.LinearAlgebra Namespace