rocsolver_sgelq2 Interface Reference#
hipfort_rocsolver::rocsolver_sgelq2 Interface Reference
! More...
Public Member Functions | |
integer(kind(rocblas_status_success)) function | rocsolver_sgelq2_full_rank (handle, m, n, A, lda, ipiv) |
integer(kind(rocblas_status_success)) function | rocsolver_sgelq2_orig (handle, m, n, A, lda, ipiv) |
integer(kind(rocblas_status_success)) function | rocsolver_sgelq2_rank_0 (handle, m, n, A, lda, ipiv) |
integer(kind(rocblas_status_success)) function | rocsolver_sgelq2_rank_1 (handle, m, n, A, lda, ipiv) |
Detailed Description
!
GELQ2 computes a LQ factorization of a general m-by-n matrix A.
(This is the unblocked version of the algorithm).
The factorization has the form
A = [ L 0 ] Q
where L is lower triangular (lower trapezoidal if m > n), and Q is a n-by-n orthogonalunitary matrix represented as the product of Householder matrices
Q = H(k) H(k-1) ... H(1), with k = min(m,n)
Each Householder matrix H(i), for i = 1,2,...,k, is given by
H(i) = I - ipiv[i-1] v(i)' v(i)
where the first i-1 elements of the Householder vector v(i) are zero, and v(i)[i] = 1.
- Parameters
-
[in] handle rocblas_handle. [in] m rocblas_int. m >= 0.
The number of rows of the matrix A.[in] n rocblas_int. n >= 0.
The number of columns of the matrix A.[in,out] A pointer to type. Array on the GPU of dimension ldan.
On entry, the m-by-n matrix to be factored. On exit, the elements on and delow the diagonal contain the factor L; the elements above the diagonal are the n - i elements of vector v(i) for i = 1,2,...,min(m,n).[in] lda rocblas_int. lda >= m.
Specifies the leading dimension of A.[out] ipiv pointer to type. Array on the GPU of dimension min(m,n).
The scalar factors of the Householder matrices H(i).
Member Function/Subroutine Documentation
◆ rocsolver_sgelq2_full_rank()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgelq2::rocsolver_sgelq2_full_rank | ( | type(c_ptr), value | handle, |
integer(c_int), value | m, | ||
integer(c_int), value | n, | ||
real(c_float), dimension(:,:), target | A, | ||
integer(c_int), value | lda, | ||
real(c_float), dimension(:), target | ipiv | ||
) |
◆ rocsolver_sgelq2_orig()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgelq2::rocsolver_sgelq2_orig | ( | type(c_ptr), value | handle, |
integer(c_int), value | m, | ||
integer(c_int), value | n, | ||
type(c_ptr), value | A, | ||
integer(c_int), value | lda, | ||
type(c_ptr), value | ipiv | ||
) |
◆ rocsolver_sgelq2_rank_0()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgelq2::rocsolver_sgelq2_rank_0 | ( | type(c_ptr), value | handle, |
integer(c_int), value | m, | ||
integer(c_int), value | n, | ||
real(c_float), target | A, | ||
integer(c_int), value | lda, | ||
real(c_float), target | ipiv | ||
) |
◆ rocsolver_sgelq2_rank_1()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgelq2::rocsolver_sgelq2_rank_1 | ( | type(c_ptr), value | handle, |
integer(c_int), value | m, | ||
integer(c_int), value | n, | ||
real(c_float), dimension(:), target | A, | ||
integer(c_int), value | lda, | ||
real(c_float), dimension(:), target | ipiv | ||
) |
The documentation for this interface was generated from the following file: