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 an error when the solve fails (a backend, singular, or shape /// mismatch failure).