Generic LAPACK gels()
subroutine for dgels()
and dgels1()
.
LA_GELS computes the minimum-norm least squares solution to one or more real or complex linear systems of the form Ax = b, A^Tx = b or A^H*x = b using a QR or LQ factorization of A. Matrix A is rectangular assumed to be of full rank. The vectors b and corresponding solution vectors x are the columns of matrices denoted B and X, respectively.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(inout) | :: | a(:,:) | |||
real(kind=r8), | intent(inout) | :: | b(:,:) | |||
character(len=1), | intent(in), | optional | :: | trans | ||
integer, | intent(out), | optional | :: | info |
LAPACK95 interface driver routine (version 3.0) -- UNI-C, Denmark; Univ. of Tennessee, USA; NAG Ltd., UK September, 2000
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(inout) | :: | a(:,:) | |||
real(kind=r8), | intent(inout) | :: | b(:) | |||
character(len=1), | intent(in), | optional | :: | trans | ||
integer, | intent(out), | optional | :: | info |