Matrix<T>.IsImmutable Property

Gets whether the elements of the matrix are immutable.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public bool IsImmutable { get; }

Property Value

Boolean

Remarks

This property indicates whether the elements can change. This is stricter than the IsReadOnly property, which only indicates whether the elements can be written to. For example, if the matrix is a read-only view of a part of a mutable matrix, then changing a value in the source matrix also changes the corresponding value in the matrix. In this case, the matrix is read-only but not immutable.

See Also