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

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


Functions

Gan_Bool gan_mat_lq (Gan_Matrix *A, Gan_SquMatrix *L, Gan_Matrix *Q, double *work, unsigned long work_size)
 Performs LQ decomposition of matrix.
Gan_Bool gan_matf_lq (Gan_Matrix_f *A, Gan_SquMatrix_f *L, Gan_Matrix_f *Q, float *work, unsigned long work_size)
 Performs LQ decomposition of matrix.

Function Documentation

Gan_Bool gan_mat_lq Gan_Matrix A,
Gan_SquMatrix L,
Gan_Matrix Q,
double *  work,
unsigned long  work_size
 

Performs LQ decomposition of matrix.

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

\[ A = L \: Q \]

where A is an $ m $ by $ n $ matrix where $ m \geq n $, L is a lower triangular matrix and Q is an orthogonal matrix.

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

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

Gan_Bool gan_matf_lq Gan_Matrix_f A,
Gan_SquMatrix_f L,
Gan_Matrix_f Q,
float *  work,
unsigned long  work_size
 

Performs LQ decomposition of matrix.

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

\[ A = L \: Q \]

where A is an $ m $ by $ n $ matrix where $ m \geq n $, L is a lower triangular matrix and Q is an orthogonal matrix.

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

L 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