Crate tenferro_linalg_prims

Crate tenferro_linalg_prims 

Source
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§

CholeskyTensorExResult
Result of a tensor-level Cholesky factorization with numerical status.
EigTensorResult
Result of a tensor-level general eigendecomposition.
EigenTensorResult
Result of a tensor-level Hermitian eigendecomposition.
LuTensorExResult
Result of a tensor-level LU factorization with numerical status.
LuTensorResult
Result of a tensor-level LU factorization.
QrTensorResult
Result of a tensor-level QR decomposition.
SolveTensorExResult
Result of a tensor-level linear solve with numerical status.
SvdTensorResult
Result of a tensor-level thin SVD.

Enums§

LinalgCapabilityOp
Backend-facing tensor linalg protocol.

Traits§

KernelLinalgScalar
Scalar types with concrete backend kernel support in the current workspace.
LapackEigScalar
LAPACK-oriented eigen helper contract for CPU eigendecomposition paths.
LinalgScalar
Scalar types supported by linalg kernel contracts.
TensorLinalgPrims