Main Page | Modules | Class List | File List | Class Members | File Members

QR Decomposition of a General Size Matrix
[General Size Matrices]


Functions

Gan_Bool gan_mat_qr (Gan_Matrix *A, Gan_Matrix *Q, Gan_SquMatrix *R, double *work, unsigned long work_size)
 Performs QR decomposition of matrix.
Gan_Bool gan_matf_qr (Gan_Matrix_f *A, Gan_Matrix_f *Q, Gan_SquMatrix_f *R, float *work, unsigned long work_size)
 Performs QR decomposition of matrix.

Function Documentation

Gan_Bool gan_mat_qr Gan_Matrix A,
Gan_Matrix Q,
Gan_SquMatrix R,
double *  work,
unsigned long  work_size
 

Performs QR decomposition of matrix.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Performs QR decomposition of matrix A:

\[ A = Q \: R \]

where A is an $ m $ by $ n $ matrix where $ m \geq n $, Q is an orthogonal matrix and R is an upper triangular matrix.

work is a workspace array of size work_size, which should be $ \geq m+\mbox{max}(1,n) $.

R may be passed as NULL, in which case the triangular factor is not computed.

Gan_Bool gan_matf_qr Gan_Matrix_f A,
Gan_Matrix_f Q,
Gan_SquMatrix_f R,
float *  work,
unsigned long  work_size
 

Performs QR decomposition of matrix.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Performs QR decomposition of matrix A:

\[ A = Q \: R \]

where A is an $ m $ by $ n $ matrix where $ m \geq n $, Q is an orthogonal matrix and R is an upper triangular matrix.

work is a workspace array of size work_size, which should be $ \geq m+\mbox{max}(1,n) $.

R may be passed as NULL, in which case the triangular factor is not computed.


Generated on Fri Mar 17 12:44:59 2006 by  doxygen 1.3.9.1