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.2
C#
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.

See Also