rocsolver_cunglq Interface Reference

rocsolver_cunglq Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_cunglq Interface Reference
hipfort_rocsolver::rocsolver_cunglq Interface Reference

! More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_cunglq_full_rank (handle, m, n, k, A, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_cunglq_orig (handle, m, n, k, A, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_cunglq_rank_0 (handle, m, n, k, A, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_cunglq_rank_1 (handle, m, n, k, A, lda, ipiv)
 

Detailed Description

!

UNGLQ generates a m-by-n complex 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  H(k-1)H  ...  H(1)H

Householder matrices H(i) are never stored, they are computed from its corresponding Householder vector v(i) and scalar ipiv_i as returned by GELQF.

Parameters
[in]handlerocblas_handle.
[in]mrocblas_int. 0 <= m <= n.
The number of rows of the matrix Q.
[in]nrocblas_int. n >= 0.
The number of columns of the matrix Q.
[in]krocblas_int. 0 <= k <= m.
The number of Householder reflectors.
[in,out]Apointer to type. Array on the GPU of dimension ldan.
On entry, the i-th row has Householder vector v(i), for i = 1,2,...,k as returned in the first k rows of matrix A of GELQF. On exit, the computed matrix Q.
[in]ldarocblas_int. lda >= m.
Specifies the leading dimension of A.
[in]ipivpointer to type. Array on the GPU of dimension at least k.
The scalar factors of the Householder matrices H(i) as returned by GELQF.

Member Function/Subroutine Documentation

◆ rocsolver_cunglq_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunglq::rocsolver_cunglq_full_rank ( type(c_ptr), value  handle,
integer(c_int), value  m,
integer(c_int), value  n,
integer(c_int), value  k,
complex(c_float_complex), dimension(:,:), target  A,
integer(c_int), value  lda,
complex(c_float_complex), dimension(:), target  ipiv 
)

◆ rocsolver_cunglq_orig()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunglq::rocsolver_cunglq_orig ( 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_cunglq_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunglq::rocsolver_cunglq_rank_0 ( type(c_ptr), value  handle,
integer(c_int), value  m,
integer(c_int), value  n,
integer(c_int), value  k,
complex(c_float_complex), target  A,
integer(c_int), value  lda,
complex(c_float_complex), target  ipiv 
)

◆ rocsolver_cunglq_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunglq::rocsolver_cunglq_rank_1 ( type(c_ptr), value  handle,
integer(c_int), value  m,
integer(c_int), value  n,
integer(c_int), value  k,
complex(c_float_complex), dimension(:), target  A,
integer(c_int), value  lda,
complex(c_float_complex), dimension(:), target  ipiv 
)

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