Tensor<T>.GetValueAt Method

Gets the element at the specified position.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
public abstract T GetValueAt(
	int linearIndex
)

Parameters

linearIndex  Int32
The zero-based index of the element.

Return Value

T
The element in the linearIndexth 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