|
| real(sp) function, dimension(size(a, 2, kind=ilp), size(a, 1, kind=ilp)) | la_pinv_s_operator (a) |
| |
| real(dp) function, dimension(size(a, 2, kind=ilp), size(a, 1, kind=ilp)) | la_pinv_d_operator (a) |
| |
| real(qp) function, dimension(size(a, 2, kind=ilp), size(a, 1, kind=ilp)) | la_pinv_q_operator (a) |
| |
| complex(sp) function, dimension(size(a, 2, kind=ilp), size(a, 1, kind=ilp)) | la_pinv_c_operator (a) |
| |
| complex(dp) function, dimension(size(a, 2, kind=ilp), size(a, 1, kind=ilp)) | la_pinv_z_operator (a) |
| |
| complex(qp) function, dimension(size(a, 2, kind=ilp), size(a, 1, kind=ilp)) | la_pinv_w_operator (a) |
| |
Compute the pseudo-inverse of a matrix using the .pinv. operator.
This operator computes the Moore-Penrose pseudo-inverse of a real or complex matrix \( A \) using Singular Value Decomposition (SVD):
\( A^+ = V \Sigma^+ U^T \)
where \( U \) and \( V \) are unitary matrices, and \( \Sigma^+ \) is the pseudo-inverse of the singular values.
- Parameters
-
| [in] | A | The input matrix of size \( [m, n] \). |
- Returns
- The pseudo-inverse matrix \( A^+ \) of size \( [n, m] \).
- Note
- This operator is a shorthand for calling
pinv(A), allowing expressions such as: \( X = .pinv.A \)
- Warning
- The accuracy of the pseudo-inverse depends on the condition number of \( A \).