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#
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
public T Value { get; }
Property Value
TRemarks
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.