
Pseudo-inverse operator of a matrix (Specification)
Operator interface for computing the Moore-Penrose pseudo-inverse of a real or complex matrix.
This operator interface provides a convenient way to compute the Moore-Penrose pseudo-inverse
of a matrix. Supported data types include real and complex. The pseudo-inverse
is computed using singular value decomposition (SVD), with singular values below an internal
threshold treated as zero.
For computational errors or invalid input, the function may return a matrix filled with NaNs.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=sp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
Result pseudo-inverse matrix
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
Result pseudo-inverse matrix
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=sp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
Result pseudo-inverse matrix
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=dp), | intent(in), | target | :: | a(:,:) |
Input matrix a[m,n] |
Result pseudo-inverse matrix