Matrix<T>.ShallowCopy Method

Makes a shallow copy of this matrix.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
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.

See Also