Matrix<T>.Is Component Writable Method
Returns a value that indicates whether the value of the element at
the specified row and column can be changed.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
true if you can change the value of this element; otherwise false.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
[ObsoleteAttribute("Use IsElementWritable instead.")]
public bool IsComponentWritable(
int row,
int column
)
Parameters
- row Int32
- The zero-based row index of the element to get or set.
- column Int32
- The zero-based column index of the element to get or set.
Return Value
Booleantrue if you can change the value of this element; otherwise false.
Remarks
If you attempt to set a element that is read-only, an exception of type ComponentReadOnlyException is thrown. To avoid this, you can call this method before you attempt to set the element to verify that it can be changed.