extendr_api::prelude::modules::core::inverse

Function invert_upper_triangular

pub fn invert_upper_triangular<E>(
    dst: MatMut<'_, E>,
    src: MatRef<'_, E>,
    parallelism: Parallelism<'_>,
)
where E: ComplexField,
Expand description

Computes the inverse of the upper triangular matrix src and stores the upper triangular part of the result to dst.

ยงPanics

Panics if src and dst have mismatching dimensions, or if they are not square.