Tensor<T>.Get Value At 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#
The element in the linearIndexth position.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
public abstract T GetValueAt(
int linearIndex
)
Parameters
- linearIndex Int32
- The zero-based index of the element.
Return Value
TThe 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.