Function extendr_api::prelude::modules::cholesky::ldlt_diagonal::solve::solve_transpose_in_place_with_conj
pub fn solve_transpose_in_place_with_conj<E>(
cholesky_factors: MatRef<'_, E>,
conj_lhs: Conj,
rhs: MatMut<'_, E>,
parallelism: Parallelism<'_>,
stack: PodStack<'_>,
)where
E: ComplexField,
Expand description
Given the Cholesky 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)^\top X = B.$$
$\text{Op}_A$ is either the identity or the conjugation depending on the value of conj_lhs
.
The solution of the linear system is stored in rhs
.
ยงPanics
Panics if any of these conditions is violated:
cholesky_factors
must be square of dimensionn
.rhs
must haven
rows.
This can also panic if the provided memory in stack
is insufficient (see
solve_transpose_in_place_req
).