Vector<T>.IsReadOnly Property

Gets whether the vector can be written to.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public bool IsReadOnly { get; }

Property Value

Boolean

Remarks

This property indicates whether the elements of the vector can be written to. It does not indicate whether the elements can change in some other way. For example, if the vector is a read-only view of a row in a mutable matrix, then changing a value in that row also changes the corresponding value in the vector. In this case, the vector is read-only but not immutable.

The IsImmutable property indicates whether the vector's values can change.

See Also