Skip to main content

ormqr

Function ormqr 

Source
pub fn ormqr<T: LinalgScalar>(
    a: &[T],
    taus: &[T],
    c: &[T],
    batch: usize,
    (m, n, k): (usize, usize, usize),
    (rows, cols): (usize, usize),
    left: bool,
    transpose: bool,
) -> Vec<T>
Expand description

Multiplies each rows x cols matrix c of a batch by Q (Q^H with transpose) from the left (left) or the right, where Q = H_0 ... H_{k-1} is given by the reflectors below the diagonal of the first k columns of the m x n matrix a (m = rows from the left, cols from the right) and the factors taus, without forming Q (LAPACK’s ormqr, unmqr, and lax.linalg.ormqr).

§Panics

Panics if the slices do not have the sizes of a batch of these.