linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
|
Multiplies a general matrix by the orthogonal matrix Q from a LQ factorization. More...
Public Member Functions | |
mult_lq_mtx | |
mult_lq_mtx_cmplx | |
mult_lq_vec | |
mult_lq_vec_cmplx | |
Multiplies a general matrix by the orthogonal matrix Q from a LQ factorization.
[in] | lside | Set to true to apply \( Q \) or \( Q^T \) from the left; else, set to false to apply \( Q \) or \( Q^T \) from the right. |
[in] | trans | Set to true to apply \( Q^T \); else, set to false. In the event \( Q \) is complex-valued, \( Q^H \) is computed instead of \( Q^T \). |
[in] | a | On input, an K-by-P matrix containing the elementary reflectors output from the LQ factorization. If lside is set to true, P = M; else, if lside is set to false, P = N. |
[in] | tau | A K-element array containing the scalar factors of each elementary reflector defined in a . |
[in,out] | c | On input, the M-by-N matrix C. On output, the product of the orthogonal matrix Q and the original matrix C. |
[out] | work | An optional input, that if provided, prevents any local memory allocation. If not provided, the memory required is allocated within. If provided, the length of the array must be at least olwork . |
[in,out] | olwork | An optional output used to determine workspace size. If supplied, the routine determines the optimal size for work , and returns without performing any actual calculations. |
[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.
|
[in] | trans | Set to true to apply \( Q^T \); else, set to false. In the event \( Q \) is complex-valued, \( Q^H \) is computed instead of \( Q^T \). |
[in] | a | On input, an K-by-M matrix containing the elementary reflectors output from the LQ factorization. Notice, the contents of this matrix are restored on exit. |
[in] | tau | A K-element array containing the scalar factors of each elementary reflector defined in a . |
[in,out] | c | On input, the M-element vector C. On output, the product of the orthogonal matrix Q and the original vector C. |
[out] | work | An optional input, that if provided, prevents any local memory allocation. If not provided, the memory required is allocated within. If provided, the length of the array must be at least olwork . |
[out] | olwork | An optional output used to determine workspace size. If supplied, the routine determines the optimal size for work , and returns without performing any actual calculations. |
[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.
|
Definition at line 3833 of file linalg.f90.