Tensor<T>.Get Length Method
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
Overload List
Get | Gets the length of the tensor along the specified axis. |
Get | Gets the length of the tensor along the specified axis. |
GetLength(Index)
Gets the length of the tensor along the specified axis.
public int GetLength(
Index axis
)
Parameters
- axis Index
- The zero based index of the axis.
Return Value
Int32The length of the tensor in the dimension specified by axis.
GetLength(Int32)
Gets the length of the tensor along the specified axis.
public int GetLength(
int axis
)
Parameters
- axis Int32
- The zero based index of the axis.
Return Value
Int32The length of the tensor in the dimension specified by axis.