The base class for tensors (i.e. Vector, Matrix, etc.).
| | Methods | | Get the shape of the tensor. For vectors this is the dimension.
For matrices, this will be a pair (m,n) of the number of rows
and columns.
| | bounds :: x n e -> (i, i) | Source |
| Get the range of valid indices in the tensor.
|
| | Instances | BaseTensor IOVector Int | BaseTensor IOVector Int | BaseTensor Vector Int | BaseTensor Vector Int | BaseTensor IOMatrix ((,) Int Int) | BaseTensor IOMatrix ((,) Int Int) | BaseTensor Matrix ((,) Int Int) | BaseTensor Matrix ((,) Int Int) | BaseTensor IOBanded ((,) Int Int) | BaseTensor IOBanded ((,) Int Int) | BaseTensor Banded ((,) Int Int) | BaseTensor Banded ((,) Int Int) | BaseTensor Perm ((,) Int Int) | BaseTensor Perm ((,) Int Int) | BaseTensor (STVector s) Int | BaseTensor (STVector s) Int | BaseTensor (STMatrix s) ((,) Int Int) | BaseTensor (STMatrix s) ((,) Int Int) | BaseTensor (STBanded s) ((,) Int Int) | BaseTensor (STBanded s) ((,) Int Int) | BaseVector x => BaseTensor (Diag x) ((,) Int Int) | BaseVector x => BaseTensor (Diag x) ((,) Int Int) | BaseMatrix a => BaseTensor (Herm a) ((,) Int Int) | BaseMatrix a => BaseTensor (Herm a) ((,) Int Int) | BaseMatrix a => BaseTensor (Tri a) ((,) Int Int) | BaseMatrix a => BaseTensor (Tri a) ((,) Int Int) |
|
|