linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
Computes the rank 1 update to an M-by-N QR factored matrix A (M >= N) where \( A = Q R \), and \( A1 = A + U V^T \) such that \( A1 = Q1 R1 \). In the event \( V \) is complex-valued, \( V^H \) is computed instead of \( V^T \). More...
Public Member Functions | |
qr_rank1_update_dbl | |
qr_rank1_update_cmplx | |
Computes the rank 1 update to an M-by-N QR factored matrix A (M >= N) where \( A = Q R \), and \( A1 = A + U V^T \) such that \( A1 = Q1 R1 \). In the event \( V \) is complex-valued, \( V^H \) is computed instead of \( V^T \).
[in,out] | q | On input, the original M-by-K orthogonal matrix Q. On output, the updated matrix Q1. |
[in,out] | r | On input, the M-by-N matrix R. On output, the updated matrix R1. |
[in,out] | u | On input, the M-element U update vector. On output, the original content of the array is overwritten. |
[in,out] | v | On input, the N-element V update vector. On output, the original content of the array is overwritten. |
[out] | work | An optional argument that if supplied prevents local memory allocation. If provided, the array must have at least K elements. |
[out] | rwork | An optional argument that if supplied prevents local memory allocation. If provided, the array must have at least K elements. |
[in,out] | err | An optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
|
A = Q * R = [Qa, Qb] * [Ra] [0 ]Note: Ra is upper triangular of dimension N-by-N.
Definition at line 1588 of file linalg.f90.