Matrix<T>.Protect Method
Returns a read-only copy of the matrix.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A reference to the new matrix.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public Matrix<T> Protect(
ArrayMutability mutability = ArrayMutability.Immutable
)
Parameters
- mutability ArrayMutability (Optional)
- The desired degree of mutability of the result.
Return Value
Matrix<T>A reference to the new matrix.