pub fn solve_in_place_with_conj<I, E>(
    lb_factors: MatRef<'_, E>,
    subdiag: ColRef<'_, E>,
    conj: Conj,
    perm: PermRef<'_, I>,
    rhs: MatMut<'_, E>,
    parallelism: Parallelism<'_>,
    stack: PodStack<'_>,
)
where I: Index, E: ComplexField,
Expand description

Given the Bunch-Kaufman factors of a matrix $A$ and a matrix $B$ stored in rhs, this function computes the solution of the linear system: $$\text{Op}_A(A)X = B.$$

$\text{Op}_A$ is either the identity or the conjugation depending on the value of conj.

The solution of the linear system is stored in rhs.

§Panics

  • Panics if lb_factors is not a square matrix.
  • Panics if subdiag is not a column vector with the same number of rows as the dimension of lb_factors.
  • Panics if rhs doesn’t have the same number of rows as the dimension of lb_factors.
  • Panics if the provided memory in stack is insufficient (see solve_in_place_req).