extendr_api::prelude::modules::cholesky::llt::reconstruct

Function reconstruct_lower

pub fn reconstruct_lower<E>(
    dst: MatMut<'_, E>,
    cholesky_factor: MatRef<'_, E>,
    parallelism: Parallelism<'_>,
    stack: PodStack<'_>,
)
where E: ComplexField,
Expand description

Computes the lower triangular part of the reconstructed matrix, given its Cholesky decomposition, and stores the result in dst.

§Panics

  • Panics if cholesky_factor is not a square matrix.
  • Panics if the destination shape doesn’t match the shape of the matrix.

This can also panic if the provided memory in stack is insufficient (see reconstruct_lower_req).