ConstantVector<T>.GetValue Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

GetValue(Int32) Gets the vector element at the specified position.
GetValue<K>(K) Gets the value at the specified key.
Preliminary

GetValue(Int32)

Gets the vector element at the specified position.
C#
public override T GetValue(
	int index
)

Parameters

index  Int32
The zero-based index of the component.

Return Value

T
The component of the Vector<T> in the indexth position.

Remarks

This method does not perform bounds checking. It is provided for optimized access in situations where the argument is known to be within bounds. If the argument is outside its valid range, the result is unspecified.

See Also