NAME
lq_decompose - Decompose a matrix M into the product of a left-triangular matrix L and an orthogonal matrix Q.
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 lq_decompose
(
const Matrix *mp,
Matrix **L_mpp,
Matrix **Q_mpp
);
DESCRIPTION
. That is, M = L * Q.
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 qr_decompose(), using
the fact that M' = (Q * R)' = R' * Q' = L * Q
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
,
ql_decompose