Calculate the QR decomposition and multiply Q with a matrix.
Calculate the decomposition A = Q R where Q is unitary/orthogonal and R upper triangular. Multiply Q with a vector or a matrix c.
New in version 0.11.
Parameters : | a : ndarray, shape (M, N)
c : ndarray, one- or two-dimensional
mode : {‘left’, ‘right’}
pivoting : bool, optional
conjugate : bool, optional
overwrite_a : bool, optional
overwrite_c: bool, optional :
|
---|---|
Returns : | CQ : float or complex ndarray
R : float or complex ndarray
P : ndarray of ints
|
Raises : | LinAlgError :
|
Notes
This is an interface to the LAPACK routines dgeqrf, zgeqrf, dormqr, zunmqr, dgeqp3, and zgeqp3.