rocsolver_cunmtr Interface Reference

rocsolver_cunmtr Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_cunmtr Interface Reference
hipfort_rocsolver::rocsolver_cunmtr Interface Reference

The UNMTR functions multiply a unitary matrix Q by a general m -by-n matrix C. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_cunmtr_ (handle, side, uplo, trans, m, n, a, lda, ipiv, c, ldc)
 
integer(kind(rocblas_status_success)) function rocsolver_cunmtr_rank_0 (handle, side, uplo, trans, m, n, a, lda, ipiv, c, ldc)
 
integer(kind(rocblas_status_success)) function rocsolver_cunmtr_rank_1 (handle, side, uplo, trans, m, n, a, lda, ipiv, c, ldc)
 
integer(kind(rocblas_status_success)) function rocsolver_cunmtr_full_rank (handle, side, uplo, trans, m, n, a, lda, ipiv, c, ldc)
 

Detailed Description

The UNMTR functions multiply a unitary matrix Q by a general m -by-n matrix C.

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,}\\% Q^H C & \: \text{Conjugate transpose from the left,}\\% CQ & \: \text{No transpose from the right, and}\\% CQ^H & \: \text{Conjugate transpose from the right.} \end{array} \]

The order q of the unitary matrix Q is q = m if applying from the left, or q = n if applying from the right.

Q is defined as a product of q-1 Householder reflectors. If uplo indicates upper, then Q has the form

\[ Q = H(q-1)H(q-2)\cdots H(1). \]

However, if uplo indicates lower, then Q has the form

\[ Q = H(1)H(2)\cdots H(q-1) \]

The Householder matrices \(H(i)\) are never stored. They are computed from their corresponding Householder vectors and scalars as returned by HETRD in its arguments A and tau.

Parameters
[in]handle- rocblas_handle.
[in]side- rocblas_side. Specifies from which side to apply Q.
[in]uplo- rocblas_fill. Specifies whether the HETRD factorization was upper or lower triangular. If uplo indicates lower (or upper), then the upper (or lower) part of A is not used.
[in]trans- rocblas_operation. Specifies whether the matrix Q or its conjugate transpose is to be applied.
[in]m- rocblas_int. m >= 0. Number of rows of matrix C.
[in]n- rocblas_int. n >= 0. Number of columns of matrix C.
[in]A- pointer to type. Array on the GPU of size lda*q. On entry, the Householder vectors as returned by HETRD.
[in]lda- rocblas_int. lda >= q. Leading dimension of A.
[in]ipiv- pointer to type. Array on the GPU of dimension at least q-1. The Householder scalars as returned by HETRD.
[in,out]C- pointer to type. Array on the GPU of size ldc*n. On entry, the matrix C. On exit, it is overwritten with \(QC\), \(CQ\), \(Q^HC\), or \(CQ^H\).
[in]ldc- rocblas_int. ldc >= m. Leading dimension of C.

Member Function/Subroutine Documentation

◆ rocsolver_cunmtr_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunmtr::rocsolver_cunmtr_ ( type(c_ptr), value  handle,
integer(kind(rocblas_side_left)), value  side,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(kind(rocblas_operation_none)), value  trans,
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,
type(c_ptr), value  c,
integer(c_int), value  ldc 
)

◆ rocsolver_cunmtr_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunmtr::rocsolver_cunmtr_full_rank ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(kind(rocblas_fill_upper))  uplo,
integer(kind(rocblas_operation_none))  trans,
integer(c_int)  m,
integer(c_int)  n,
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_cunmtr_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunmtr::rocsolver_cunmtr_rank_0 ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(kind(rocblas_fill_upper))  uplo,
integer(kind(rocblas_operation_none))  trans,
integer(c_int)  m,
integer(c_int)  n,
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_cunmtr_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cunmtr::rocsolver_cunmtr_rank_1 ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(kind(rocblas_fill_upper))  uplo,
integer(kind(rocblas_operation_none))  trans,
integer(c_int)  m,
integer(c_int)  n,
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: