|
tblite
Light-weight tight-binding framework
|
Computes the column-pivoted economy QR decomposition of a real M-by-N matrix A. More...
Public Member Functions | |
| subroutine | wrap_sgeqp3 (amat, jpvt, qmat, rmat, info) |
| Compute a single-precision column-pivoted economy QR decomposition. | |
| subroutine | wrap_dgeqp3 (amat, jpvt, qmat, rmat, info) |
| Compute a double-precision column-pivoted economy QR decomposition. | |
Computes the column-pivoted economy QR decomposition of a real M-by-N matrix A.
A * P = Q * R
where P is the column permutation described by jpvt, Q has orthonormal columns, and R is upper trapezoidal with |R(1,1)| >= |R(2,2)| >= ... along columns selected by decreasing pivoted norm. For an M-by-N matrix, Q has dimensions M-by-min(M,N), while R has dimensions min(M,N)-by-N.
| subroutine tblite_lapack_geqp3::wrap_geqp3::wrap_dgeqp3 | ( | real(dp), dimension(:, :), intent(inout), contiguous | amat, |
| integer, dimension(:), intent(out), contiguous | jpvt, | ||
| real(dp), dimension(:, :), intent(out), contiguous | qmat, | ||
| real(dp), dimension(:, :), intent(out), contiguous | rmat, | ||
| integer, intent(out) | info ) |
Compute a double-precision column-pivoted economy QR decomposition.
| [in,out] | amat | Input matrix on entry and QR factorization storage on exit |
| [out] | jpvt | Permutation so column jpvt(j) of the input ends up in position j |
| [out] | qmat | Economy orthogonal matrix Q |
| [out] | rmat | Upper trapezoidal matrix R in pivoted column order |
| [out] | info | Error handling |
| subroutine tblite_lapack_geqp3::wrap_geqp3::wrap_sgeqp3 | ( | real(sp), dimension(:, :), intent(inout), contiguous | amat, |
| integer, dimension(:), intent(out), contiguous | jpvt, | ||
| real(sp), dimension(:, :), intent(out), contiguous | qmat, | ||
| real(sp), dimension(:, :), intent(out), contiguous | rmat, | ||
| integer, intent(out) | info ) |
Compute a single-precision column-pivoted economy QR decomposition.
| [in,out] | amat | Input matrix on entry and QR factorization storage on exit |
| [out] | jpvt | Permutation so column jpvt(j) of the input ends up in position j |
| [out] | qmat | Economy orthogonal matrix Q |
| [out] | rmat | Upper trapezoidal matrix R in pivoted column order |
| [out] | info | Error handling |