Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace > Matrix Class > Methods


Extreme Optimization Mathematics Library for .NET

Matrix.ShallowCopy Method 

Makes a shallow copy of this Matrix.

[Visual Basic]
Public Function ShallowCopy() As Matrix
[C#]
public Matrix ShallowCopy();

Return Value

A reference to the new Matrix.

Remarks

A shallow copy does not copy the components of the vector 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

Matrix Class | Extreme.Mathematics.LinearAlgebra Namespace