pub fn triangular_solve_backend<T>(
a: &TypedTensor<T>,
b: &TypedTensor<T>,
left_side: bool,
lower: bool,
transpose_a: bool,
unit_diagonal: bool,
) -> Result<TypedTensor<T>, BackendLinalgError>where
T: BackendLinalgScalar,Expand description
Solve a triangular system with the configured tenferro backend.
If left_side is true, this solves op(A) X = B; otherwise it solves
X op(A) = B. lower selects the triangular half, transpose_a applies
a transpose to A, and unit_diagonal treats the diagonal of A as ones.
ยงErrors
Returns a BackendLinalgError when a or b is not host-backed, when
the context rejects the entry, or when the triangular solve fails
(for example a singular a or inconsistent triangular flags).