Expand description
The mathematical word tensor is used here to describe more broadly
arrays with multiple indexes. Elements can be equated and accessed throught tuple of usize
.
let tensor: Tensor3<StaticDimTag<3>, StaticDimTag<2>, StaticDimTag<5>, f64> = ...;
let element: f64 = tensor[(1, 0, 4)];
Structs§
- Tensor0
- A tensor of rank 0 (that is to say a scalar) containing a single value of type V.
- Tensor1
- A tensor of rank 1 and dimension represented by tag T containing values of type V.
- Tensor2
- Tensor3
- Tensor4
- Tensor5
- Tensor6
- Tensor7
- Tensor8
Traits§
- Tensor
- A general trait shared by all tensor types.