Skip to main content

triangular_solve

Function triangular_solve 

Source
pub fn triangular_solve<T: LinalgScalar>(
    a: &[T],
    b: &[T],
    batch: usize,
    m: usize,
    n: usize,
    options: TriangularSolveOptions,
) -> Vec<T>
Expand description

Solves op(A) X = B or X op(A) = B for each pair of a batch, where A is triangular (k x k, k = m on the left side and n on the right) and B is m x n (LAPACK’s trsm).

§Panics

Panics if the slices do not have batch matrices of those sizes.