Generic LAPACK gelsd()
subroutine for dgelsd()
and dgelsd1()
.
LA_GELSS and LA_GELSD compute the minimum-norm least squares solution to one or more real or complex linear systems A*x = b using the singular value decomposition of A. Matrix A is rectangular and may be rank-deficient. 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(:,:) | |||
integer, | intent(out), | optional | :: | rank | ||
real(kind=r8), | intent(out), | optional, | target | :: | s(:) | |
real(kind=r8), | intent(in), | optional | :: | rcond | ||
integer, | intent(out), | optional | :: | info |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(inout) | :: | a(:,:) | |||
real(kind=r8), | intent(inout) | :: | b(:) | |||
integer, | intent(out), | optional | :: | rank | ||
real(kind=r8), | intent(out), | optional, | target | :: | s(:) | |
real(kind=r8), | intent(in), | optional | :: | rcond | ||
integer, | intent(out), | optional | :: | info |