Skip to main content

solve_backend

Function solve_backend 

Source
pub fn solve_backend<T>(
    a: &TypedTensor<T>,
    b: &TypedTensor<T>,
) -> Result<TypedTensor<T>, BackendLinalgError>
Expand description

Solve A X = B with the configured tenferro backend.

ยงErrors

Returns a BackendLinalgError when a or b is not host-backed, when the context rejects the entry, or when the solve fails (for example a singular a).