This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

rocsolver_cunmql Interface Reference

rocsolver_cunmql Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_cunmql Interface Reference
hipfort_rocsolver::rocsolver_cunmql Interface Reference

UNMQL multiplies a complex matrix Q with orthonormal columns by a general m-by-n matrix C. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_cunmql_ (handle, side, trans, m, n, k, A, lda, ipiv, C, ldc)
 
integer(kind(rocblas_status_success)) function rocsolver_cunmql_full_rank (handle, side, trans, m, n, k, A, lda, ipiv, C, ldc)
 
integer(kind(rocblas_status_success)) function rocsolver_cunmql_rank_0 (handle, side, trans, m, n, k, A, lda, ipiv, C, ldc)
 
integer(kind(rocblas_status_success)) function rocsolver_cunmql_rank_1 (handle, side, trans, m, n, k, A, lda, ipiv, C, ldc)
 

Detailed Description

UNMQL multiplies a complex matrix Q with orthonormal columns by a general m-by-n matrix C.

(This is the blocked version of the algorithm).

The matrix Q is applied in one of the following forms, depending on the values of side and trans:

\[ \begin{array}{cl} QC & \: \text{No transpose from the left,}\newline Q^HC & \: \text{Conjugate transpose from the left,}\newline CQ & \: \text{No transpose from the right, and}\newline CQ^H & \: \text{Conjugate transpose from the right.} \end{array} \]

Q is defined as the product of k Householder reflectors

\[ Q = H_kH_{k-1}\cdots H_1 \]

of order m if applying from the left, or n if applying from the right. Q is never stored, it is calculated from the Householder vectors and scalars returned by the QL factorization GEQLF.

Parameters
[in]handlerocblas_handle.
[in]siderocblas_side.
Specifies from which side to apply Q.
[in]transrocblas_operation.
Specifies whether the matrix Q or its conjugate transpose is to be applied.
[in]mrocblas_int. m >= 0.
Number of rows of matrix C.
[in]nrocblas_int. n >= 0.
Number of columns of matrix C.
[in]krocblas_int. k >= 0; k <= m if side is left, k <= n if side is right.
The number of Householder reflectors that form Q.
[in]Apointer to type. Array on the GPU of size lda*k.
The Householder vectors as returned by GEQLF in the last k columns of its argument A.
[in]ldarocblas_int. lda >= m if side is left, lda >= n if side is right.
Leading dimension of A.
[in]ipivpointer to type. Array on the GPU of dimension at least k.
The Householder scalars as returned by GEQLF.
[in,out]Cpointer to type. Array on the GPU of size ldc*n.
On entry, the matrix C. On exit, it is overwritten with Q*C, C*Q, Q'*C, or C*Q'.
[in]ldcrocblas_int. ldc >= m.
Leading dimension of C.

Member Function/Subroutine Documentation

◆ rocsolver_cunmql_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunmql::rocsolver_cunmql_ ( type(c_ptr), value  handle,
integer(kind(rocblas_side_left)), value  side,
integer(kind(rocblas_operation_none)), value  trans,
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,
type(c_ptr), value  C,
integer(c_int), value  ldc 
)

◆ rocsolver_cunmql_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunmql::rocsolver_cunmql_full_rank ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(kind(rocblas_operation_none))  trans,
integer(c_int)  m,
integer(c_int)  n,
integer(c_int)  k,
complex(c_float_complex), dimension(:,:), target  A,
integer(c_int)  lda,
complex(c_float_complex), dimension(:), target  ipiv,
complex(c_float_complex), dimension(:,:), target  C,
integer(c_int)  ldc 
)

◆ rocsolver_cunmql_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunmql::rocsolver_cunmql_rank_0 ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(kind(rocblas_operation_none))  trans,
integer(c_int)  m,
integer(c_int)  n,
integer(c_int)  k,
complex(c_float_complex), target  A,
integer(c_int)  lda,
complex(c_float_complex), target  ipiv,
complex(c_float_complex), target  C,
integer(c_int)  ldc 
)

◆ rocsolver_cunmql_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunmql::rocsolver_cunmql_rank_1 ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(kind(rocblas_operation_none))  trans,
integer(c_int)  m,
integer(c_int)  n,
integer(c_int)  k,
complex(c_float_complex), dimension(:), target  A,
integer(c_int)  lda,
complex(c_float_complex), dimension(:), target  ipiv,
complex(c_float_complex), dimension(:), target  C,
integer(c_int)  ldc 
)

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