Tensor<T>.Value Property

Gets the value of the first element in the tensor.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
public T Value { get; }

Property Value

T

Remarks

This method is useful primarily for 0-dimensional tensors. If the tensor has no elements (one of the dimensions is 0), then the behaviour is undefined.

See Also