Main Page   Modules   Compound List   File List   Compound 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:

where A is an by matrix where , Q is an orthogonal matrix and R is an upper triangular matrix.

work is a workspace array of size work_size, which should be .

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:

where A is an by matrix where , Q is an orthogonal matrix and R is an upper triangular matrix.

work is a workspace array of size work_size, which should be .

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


Generated on Mon Oct 13 16:15:00 2003 by doxygen1.3-rc1