Skip to main content

householder_product

Function householder_product 

Source
pub fn householder_product<T: LinalgScalar>(
    a: &[T],
    taus: &[T],
    batch: usize,
    m: usize,
    n: usize,
    k: usize,
) -> Vec<T>
Expand description

The first n columns of the product Q = H_0 H_1 ... H_{k-1} of the Householder reflectors stored below the diagonal of the first k columns of each m x n matrix of a batch (m >= n >= k), as LAPACK’s orgqr (ungqr) and lax.linalg.householder_product.

§Panics

Panics if the slices do not have batch matrices and batch vectors of k factors, or if m < n or n < k.