
Computes the size of the workspace required by the constrained least-squares solver. (Specification)
This interface provides the size of the workspace array required by the constrained least-squares solver. It can be used to pre-allocate the working array in case several repeated solutions to a same system are sought. If pre-allocated, working arrays are provided, no internal allocation will take place.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=sp), | intent(in) | :: | A(:,:) |
Least-squares cost. |
||
| complex(kind=sp), | intent(in) | :: | C(:,:) |
Equality constraints. |
||
| integer(kind=ilp), | intent(out) | :: | lwork | |||
| type(linalg_state_type), | intent(out), | optional | :: | err |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | A(:,:) |
Least-squares cost. |
||
| real(kind=dp), | intent(in) | :: | C(:,:) |
Equality constraints. |
||
| integer(kind=ilp), | intent(out) | :: | lwork | |||
| type(linalg_state_type), | intent(out), | optional | :: | err |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=sp), | intent(in) | :: | A(:,:) |
Least-squares cost. |
||
| real(kind=sp), | intent(in) | :: | C(:,:) |
Equality constraints. |
||
| integer(kind=ilp), | intent(out) | :: | lwork | |||
| type(linalg_state_type), | intent(out), | optional | :: | err |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(in) | :: | A(:,:) |
Least-squares cost. |
||
| complex(kind=dp), | intent(in) | :: | C(:,:) |
Equality constraints. |
||
| integer(kind=ilp), | intent(out) | :: | lwork | |||
| type(linalg_state_type), | intent(out), | optional | :: | err |