Gives this instance its own copy of its elements.
Namespace: Extreme.Mathematics.Generic.LinearAlgebraAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public void CloneData(
MatrixElementOrder elementOrder
)
Public Sub CloneData (
elementOrder As MatrixElementOrder
)
public:
void CloneData(
MatrixElementOrder elementOrder
)
member CloneData :
elementOrder : MatrixElementOrder -> unit
Parameters
- elementOrder
- Type: Extreme.MathematicsMatrixElementOrder
A MatrixElementOrder
value that specifies whether to store the elements in
column or in row major order.
Objects derived from VectorT
or MatrixT may share an underlying
storage structure. For example, the
GetSubmatrix(Range, Range, TransposeOperation) method of the
MatrixT class returns a MatrixT
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 values. After a call to this method,
any changes to the elements of this instance
will only affect this instance. Moreover, the
elements are guaranteed to be in one contiguous
block of memory, in column-major order.
Numerical Libraries
Supported in: 5.x, 4.x
Reference