tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
tblite_lapack_geqp3::wrap_geqp3 Interface Reference

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.

Detailed Description

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.

Member Function/Subroutine Documentation

◆ wrap_dgeqp3()

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.

Parameters
[in,out]amatInput matrix on entry and QR factorization storage on exit
[out]jpvtPermutation so column jpvt(j) of the input ends up in position j
[out]qmatEconomy orthogonal matrix Q
[out]rmatUpper trapezoidal matrix R in pivoted column order
[out]infoError handling

◆ wrap_sgeqp3()

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.

Parameters
[in,out]amatInput matrix on entry and QR factorization storage on exit
[out]jpvtPermutation so column jpvt(j) of the input ends up in position j
[out]qmatEconomy orthogonal matrix Q
[out]rmatUpper trapezoidal matrix R in pivoted column order
[out]infoError handling

The documentation for this interface was generated from the following file: