Matrix<T>.IsReadOnly Property

Gets whether the matrix can be written to.

Definition

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

Property Value

Boolean

Remarks

This property indicates whether the elements of the matrix can be written to. It does not indicate whether the elements can change in some other way. 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.

The IsImmutable property indicates whether the elements of the matrix can change.

See Also