Expand description
the tensor module provides various traits and types for handling n-dimensional tensors.
this module focuses on establishing a solid foundation for working with n-dimensional
tensors.
Modules§
- iter
- this module defines various iterators for the
TensorBase
Structs§
- Tensor
Base - the
TensorBasestruct is the base type for all tensors in the library.
Traits§
- Affine
- apply an affine transformation to a tensor;
affine transformation is defined as
mul * self + add - Inverse
- The
Inversetrait generically establishes an interface for computing the inverse of a type, regardless of if its a tensor, scalar, or some other compatible type. - MatMul
- The
MatMultrait defines an interface for matrix multiplication. - MatPow
- The
MatPowtrait defines an interface for computing the exponentiation of a matrix. - NdTensor
- The [
Tensor] trait extends theRawTensortrait to provide additional functionality for tensors, such as creating tensors from shapes, applying functions, and iterating over elements. It is generic over the element typeAand the dimension type `D - Numerical
- Numerical is a trait for all numerical types; implements a number of core operations
- RawTensor
- The
RawTensortrait defines the base interface for all tensors, - Scalar
- The Scalar trait extends the Numerical trait to include additional mathematical operations for the purpose of reducing the number of overall traits required to complete various machine-learning tasks.
- Scalar
Complex - Transpose
- The
Transposetrait generically establishes an interface for transposing a type
Type Aliases§
- ArcTensor
- a type alias for a
TensorBasewith an owned representation - RawView
MutTensor - a type alias for a
TensorBasewith an owned representation - RawView
Tensor - A type alias for a
TensorBasewith a raw pointer representation. - Tensor
- a type alias for a
TensorBasewith an owned representation - Tensor
View - a type alias for a
TensorBasewith a view representation - Tensor
View Mut - a type alias for a
TensorBasewith a mutable view representation