NAME

ql_decompose - Decompose a matrix M into the product of an orthgonal matrix and a left-triangular matrix.

SYNOPSIS

#include "n/n_qr.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int ql_decompose
(
	const Matrix *mp,
	Matrix **Q_mpp,
	Matrix **L_mpp
);

DESCRIPTION

Decompose a matrix M into the product of an orthgonal matrix and a left-triangular matrix.

RETURNS

NO_ERROR on success, and ERROR on failure, with an appropriate error message being set.

NOTE

The result is obtained directly from the result of rq_decompose(), using the fact that M' = (R * Q)' = Q' * R' = Q * L

NOTE

This routine requires that that the LAPACK library is available. If this file was compiled without the presence of that library, then this routine will return ERROR.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kyle Simek

DOCUMENTER

Kobus Barnard

SEE ALSO

qr_decompose , rq_decompose , lq_decompose