Expand description
Interopability APIs between Matrix/MatrixView and Tensor/TensorView.
Structs§
- A wrapper around a Tensor<_, 2> type that implements MatrixRef and can thus be used in a MatrixView
- A zero size DimensionNames type that always returns
["row", "column"]
. - A wrapper around a Matrix type that implements TensorRef and can thus be used in a TensorView
Traits§
- The first and second dimension name a Matrix type wrapped in a TensorRefMatrix will report on its view shape. If you don’t care what the dimension names are, RowAndColumn can be used which will hardcode the dimension names to “row” and “column” respectively.