ConstantVector<T>.IsElementWritable Method

Gets whether the value of the element at the specified index can be changed.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public override bool IsElementWritable(
	int index
)

Parameters

index  Int32
Zero-based index of the component.

Return Value

Boolean
true only for the single element of a writable length-one constant vector; otherwise false.

Remarks

A constant vector can be modified through element access only when it has length one and its attributes permit writes.

See Also