extendr_api::prelude::modules::qr::no_pivoting::inverse

Function invert_in_place

pub fn invert_in_place<E>(
    qr_factors: MatMut<'_, E>,
    householder_factor: MatRef<'_, E>,
    parallelism: Parallelism<'_>,
    stack: PodStack<'_>,
)
where E: ComplexField,
Expand description

Computes the inverse of a matrix, given its QR decomposition, and stores the result in qr_factors.

§Panics

  • Panics if qr_factors is not a square matrix.
  • Panics if the number of columns of householder_factor isn’t the same as the minimum of the number of rows and the number of columns of qr_factors.
  • Panics if the block size is zero.
  • Panics if the provided memory in stack is insufficient (see invert_in_place_req).