Composed Complex Vector<T>.Clone Data Method
Gives this instance its own copy of its elements.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public override void CloneData()
Remarks
Objects derived from Vector<T> or Matrix<T> may share an underlying storage structure. For example, the GetColumn(Int32) method of the DenseMatrix<T> class returns a Vector<T> that is a view on a column in the matrix. Changing an element in the vector changes the corresponding element in the 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 ComposedComplexVector<T> will only affect this instance. Moreover, the elements are guaranteed to be in one contiguous block of memory.