Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace
Represents an exception that is thrown when an attempt is made to set a component of a Vector or Matrix whose value is fixed due to the structure of the vector or matrix.
For a list of all members of this type, see ComponentReadOnlyException Members.
System.Object
Exception
SystemException
InvalidOperationException
ComponentReadOnlyException
Changing the value of one of these elements would cause the vector or matrix to lose its structure. This is not allowed. If an attempt is made to do so, a ComponentReadOnlyException is thrown.
You can verify whether a component of a vector is writeable by calling its IsComponentWritable method. You can verify whether a component of a matrix is writeable by calling its IsComponentWritable method. These methods return false if the component is read-only, and a ComponentReadOnlyException would be thrown if an attempt was made to change its value.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Mathematics (in Extreme.Mathematics.dll)
ComponentReadOnlyException Members | Extreme.Mathematics.LinearAlgebra Namespace