Matrix<T>.Shallow Copy Method
Makes a shallow copy of this matrix.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A reference to the new Matrix<T>.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public Matrix<T> ShallowCopy()
Return Value
Matrix<T>A reference to the new Matrix<T>.
Remarks
A shallow copy does not copy the elements of the matrix into a new array. Use the Clone() method for this purpose.
For derived classes, the return value may need to be cast to the derived type.