Expand description
Backend-facing linalg kernel contracts for the tenferro workspace.
This crate holds the low-level tensor linalg protocol that device backends
implement. High-level composite APIs remain in tenferro-linalg.
§Examples
ⓘ
use tenferro_linalg_prims::{TensorLinalgPrims, QrTensorResult};
use tenferro_tensor::Tensor;
fn accepts_backend<B: TensorLinalgPrims<f64>>() {}
let _: Option<QrTensorResult<f64>> = None;
let _: Option<Tensor<f64>> = None;Modules§
- backend
- Backend-owned linalg context bindings and marker types.
Structs§
- Cholesky
Tensor ExResult - Result of a tensor-level Cholesky factorization with numerical status.
- EigTensor
Result - Result of a tensor-level general eigendecomposition.
- Eigen
Tensor Result - Result of a tensor-level Hermitian eigendecomposition.
- LuTensor
ExResult - Result of a tensor-level LU factorization with numerical status.
- LuTensor
Result - Result of a tensor-level LU factorization.
- QrTensor
Result - Result of a tensor-level QR decomposition.
- Solve
Tensor ExResult - Result of a tensor-level linear solve with numerical status.
- SvdTensor
Result - Result of a tensor-level thin SVD.
Enums§
- Linalg
Capability Op - Backend-facing tensor linalg protocol.
Traits§
- Kernel
Linalg Scalar - Scalar types with concrete backend kernel support in the current workspace.
- Lapack
EigScalar - LAPACK-oriented eigen helper contract for CPU eigendecomposition paths.
- Linalg
Scalar - Scalar types supported by linalg kernel contracts.
- Tensor
Linalg Prims