SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Computes the QR decomposition of a matrix using the LAPACK function xgeqp3
.
More...
#include <rw/lapack/qrcalcp3.h>
Static Public Member Functions | |
static bool | computeQR (RWGenMat< TypeT > &A, RWMathVec< TypeT > &tau, int *const pivots) |
static bool | computeQR (RWGenMat< TypeT > &A, RWMathVec< TypeT > &tau, long *const pivots) |
Computes the QR decomposition of a matrix A using the LAPACK function xgeqp3
. This class may be used as the QRCalc
template parameter for the classes RWQRDecomp<T,QRCalc> , RWQRDecompServer<T,QRCalc> , RWLeastSqQR<T,QRCalc> and RWCODecomp<T,QRCalc>.
#include <rw/lapack/qrcalcp3.h>
static bool RWQRCalcP3< TypeT >::computeQR | ( | RWGenMat< TypeT > & | A, | |
RWMathVec< TypeT > & | tau, | |||
long *const | pivots | |||
) | [static] |
Parameters:
On entry, A is the M-by-N matrix for which the QR decomposition is being computed. On exit, the upper triangle of the array contains the min(M,N)-by-N upper triangular matrix R; the elements below the diagonal, together with the vector tau, represent the orthogonal matrix Q as a product of min(m,n) elementary reflectors.
If pivots != null, then on entry, if pivots[i] != 0, the i-th columnof A is permuted to the front of A*P (a leading column); if pivots(i) == 0, the i-th column of A is a free column. On exit, if pivots[i] = k, then the i-th column of A*P was the k-th column of A. If pivots == null, pivoting is not done..
static bool RWQRCalcP3< TypeT >::computeQR | ( | RWGenMat< TypeT > & | A, | |
RWMathVec< TypeT > & | tau, | |||
int *const | pivots | |||
) | [static] |
Parameters:
On entry, A is the M-by-N matrix for which the QR decomposition is being computed. On exit, the upper triangle of the array contains the min(M,N)-by-N upper triangular matrix R; the elements below the diagonal, together with the vector tau, represent the orthogonal matrix Q as a product of min(m,n) elementary reflectors.
If pivots != null, then on entry, if pivots[i] != 0, the i-th columnof A is permuted to the front of A*P (a leading column); if pivots(i) == 0, the i-th column of A is a free column. On exit, if pivots[i] = k, then the i-th column of A*P was the k-th column of A. If pivots == null, pivoting is not done..
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.