Computes the working array space required by the QR factorization solver (Specification)
This interface returns the size of the real
or complex
working storage required by the
QR factorization solver. The working size only depends on the kind (real
or complex
) and size of
the matrix being factorized. Storage size can be used to pre-allocate a working array in case several
repeated QR factorizations to a same-size matrix are sought. If pre-allocated working arrays
are provided, no internal allocations will take place during the factorization.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=sp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
integer(kind=ilp), | intent(out) | :: | lwork |
Minimum workspace size for both operations |
||
type(linalg_state_type), | intent(out), | optional | :: | err |
State return flag. Returns an error if the query failed |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
integer(kind=ilp), | intent(out) | :: | lwork |
Minimum workspace size for both operations |
||
type(linalg_state_type), | intent(out), | optional | :: | err |
State return flag. Returns an error if the query failed |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
integer(kind=ilp), | intent(out) | :: | lwork |
Minimum workspace size for both operations |
||
type(linalg_state_type), | intent(out), | optional | :: | err |
State return flag. Returns an error if the query failed |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=dp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
|
integer(kind=ilp), | intent(out) | :: | lwork |
Minimum workspace size for both operations |
||
type(linalg_state_type), | intent(out), | optional | :: | err |
State return flag. Returns an error if the query failed |