rocsolver_sorglq Interface Reference

rocsolver_sorglq Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_sorglq Interface Reference
hipfort_rocsolver::rocsolver_sorglq Interface Reference

The ORGLQ functions generate an m-by-n Matrix Q with orthonormal rows. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_sorglq_ (handle, m, n, k, a, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_sorglq_rank_0 (handle, m, n, k, a, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_sorglq_rank_1 (handle, m, n, k, a, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_sorglq_full_rank (handle, m, n, k, a, lda, ipiv)
 

Detailed Description

The ORGLQ functions generate an m-by-n Matrix Q with orthonormal rows.

(This is the blocked version of the algorithm.)

The matrix Q is defined as the first m rows of the product of k Householder reflectors of order n

\[ Q = H(k)H(k-1)\cdots H(1) \]

The Householder matrices \(H(i)\) are never stored. They are computed from the corresponding Householder vectors \(v_i\) and scalars \(\text{ipiv}[i]\), as returned by GELQF.

Parameters
[in]handle- rocblas_handle.
[in]m- rocblas_int. 0 <= m <= n. The number of rows of the matrix Q.
[in]n- rocblas_int. n >= 0. The number of columns of the matrix Q.
[in]k- rocblas_int. 0 <= k <= m. The number of Householder reflectors.
[in,out]A- pointer to type. Array on the GPU of dimension lda*n. On entry, the matrix A as returned by GELQF, with the Householder vectors in the first k rows. On exit, the computed matrix Q.
[in]lda- rocblas_int. lda >= m. Specifies the leading dimension of A.
[in]ipiv- pointer to type. Array on the GPU of dimension at least k. The Householder scalars as returned by GELQF.

Member Function/Subroutine Documentation

◆ rocsolver_sorglq_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorglq::rocsolver_sorglq_ ( type(c_ptr), value  handle,
integer(c_int), value  m,
integer(c_int), value  n,
integer(c_int), value  k,
type(c_ptr), value  a,
integer(c_int), value  lda,
type(c_ptr), value  ipiv 
)

◆ rocsolver_sorglq_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorglq::rocsolver_sorglq_full_rank ( type(c_ptr)  handle,
integer(c_int)  m,
integer(c_int)  n,
integer(c_int)  k,
real(c_float), dimension(:,:), target  a,
integer(c_int)  lda,
real(c_float), dimension(:), target  ipiv 
)

◆ rocsolver_sorglq_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorglq::rocsolver_sorglq_rank_0 ( type(c_ptr)  handle,
integer(c_int)  m,
integer(c_int)  n,
integer(c_int)  k,
real(c_float), target  a,
integer(c_int)  lda,
real(c_float), target  ipiv 
)

◆ rocsolver_sorglq_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorglq::rocsolver_sorglq_rank_1 ( type(c_ptr)  handle,
integer(c_int)  m,
integer(c_int)  n,
integer(c_int)  k,
real(c_float), dimension(:), target  a,
integer(c_int)  lda,
real(c_float), dimension(:), target  ipiv 
)

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