Computes the integer, real [, complex] working space required by the least-squares solver (Specification)
This interface provides sizes of integer, real [, complex] working spaces required by the least-squares solver. These sizes can be used to pre-allocated working arrays in case several repeated least-squares solutions to a same system are sought. If pre-allocated working arrays are provided, no internal allocations will take place.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=sp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
complex(kind=sp), | intent(in) | :: | b(:,:) |
Right hand side vector or array, b[n] or b[n,nrhs] |
||
integer(kind=ilp), | intent(out) | :: | lrwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | liwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | lcwork |
Size of the working space arrays |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=sp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
complex(kind=sp), | intent(in) | :: | b(:) |
Right hand side vector or array, b[n] or b[n,nrhs] |
||
integer(kind=ilp), | intent(out) | :: | lrwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | liwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | lcwork |
Size of the working space arrays |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
real(kind=dp), | intent(in) | :: | b(:,:) |
Right hand side vector or array, b[n] or b[n,nrhs] |
||
integer(kind=ilp), | intent(out) | :: | lrwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | liwork |
Size of the working space arrays |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
real(kind=dp), | intent(in) | :: | b(:) |
Right hand side vector or array, b[n] or b[n,nrhs] |
||
integer(kind=ilp), | intent(out) | :: | lrwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | liwork |
Size of the working space arrays |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
real(kind=sp), | intent(in) | :: | b(:,:) |
Right hand side vector or array, b[n] or b[n,nrhs] |
||
integer(kind=ilp), | intent(out) | :: | lrwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | liwork |
Size of the working space arrays |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
real(kind=sp), | intent(in) | :: | b(:) |
Right hand side vector or array, b[n] or b[n,nrhs] |
||
integer(kind=ilp), | intent(out) | :: | lrwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | liwork |
Size of the working space arrays |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=dp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
complex(kind=dp), | intent(in) | :: | b(:,:) |
Right hand side vector or array, b[n] or b[n,nrhs] |
||
integer(kind=ilp), | intent(out) | :: | lrwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | liwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | lcwork |
Size of the working space arrays |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=dp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
complex(kind=dp), | intent(in) | :: | b(:) |
Right hand side vector or array, b[n] or b[n,nrhs] |
||
integer(kind=ilp), | intent(out) | :: | lrwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | liwork |
Size of the working space arrays |
||
integer(kind=ilp), | intent(out) | :: | lcwork |
Size of the working space arrays |