f08chc forms the
factorization of an arbitrary rectangular real
matrix. If
, the factorization is given by
where
is an
lower triangular matrix and
is an
orthogonal matrix. If
the factorization is given by
where
is an
upper trapezoidal matrix and
is again an
orthogonal matrix. In the case where
the factorization can be expressed as
where
consists of the first
rows of
and
the remaining
rows.
The matrix
is not formed explicitly, but is represented as a product of
elementary reflectors (see the
F08 Chapter Introduction for details). Functions are provided to work with
in this representation (see
Section 9).
Anderson E, Bai Z, Bischof C, Blackford S, Demmel J, Dongarra J J, Du Croz J J, Greenbaum A, Hammarling S, McKenney A and Sorensen D (1999)
LAPACK Users' Guide (3rd Edition) SIAM, Philadelphia
https://www.netlib.org/lapack/lug
The computed factorization is the exact factorization of a nearby matrix
, where
and
is the
machine precision.
Please consult the
X06 Chapter Introduction for information on how to control and interrogate the OpenMP environment used within this function. Please also consult the
Users' Note for your implementation for any additional implementation-specific information.
To form the orthogonal matrix
f08chc may be followed by a call to
f08cjc
:
nag_lapackeig_dorgrq(order, n, n, minmn, a, pda, tau, &fail)
where
,
but note that the first dimension of the array
a must be at least
n, which may be larger than was required by
f08chc. When
, it is often only the first
rows of
that are required and they may be formed
by the call:
nag_lapackeig_dorgrq(order, m, n, m, a, pda, tau, c, pdc, &fail)
To apply
to an arbitrary
real rectangular matrix
,
f08chc may be followed by a call to
f08ckc
. For example:
nag_lapackeig_dormrq(Nag_LeftSide, Nag_Trans, n, p, minmn, a, pda, tau, c, pdc, &fail)
forms the matrix product
.
The complex analogue of this function is
f08cvc.
This example finds the minimum norm solution to the underdetermined equations
where