rocsolver_cungtr Interface Reference

rocsolver_cungtr Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_cungtr Interface Reference
hipfort_rocsolver::rocsolver_cungtr Interface Reference

! More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_cungtr_full_rank (handle, uplo, n, A, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_cungtr_orig (handle, uplo, n, A, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_cungtr_rank_0 (handle, uplo, n, A, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_cungtr_rank_1 (handle, uplo, n, A, lda, ipiv)
 

Detailed Description

!

UNGTR generates a n-by-n unitary Matrix Q.

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

Q = H(n-1)  H(n-2)  ...  H(1)

On the other hand, if uplo indicates lower, then Q has the form

Q = H(1)  H(2)  ...  H(n-1)

The Householder matrices H(i) are never stored, they are computed from its corresponding Householder vectors v(i) and scalars ipiv_i as returned by HETRD in its arguments A and tau.

Parameters
[in]handlerocblas_handle.
[in]uplorocblas_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]nrocblas_int. n >= 0.
The number of rows and columns of the matrix Q.
[in,out]Apointer to type. Array on the GPU of dimension ldan.
On entry, the (i+1)-th column (if uplo indicates upper) or i-th column (if uplo indicates lower) has the Householder vector v(i) as returned by HETRD. 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 n-1.
The scalar factors of the Householder matrices H(i) as returned by HETRD.

Member Function/Subroutine Documentation

◆ rocsolver_cungtr_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cungtr::rocsolver_cungtr_full_rank ( type(c_ptr), value  handle,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(c_int), value  n,
complex(c_float_complex), dimension(:,:), target  A,
integer(c_int), value  lda,
complex(c_float_complex), dimension(:), target  ipiv 
)

◆ rocsolver_cungtr_orig()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cungtr::rocsolver_cungtr_orig ( type(c_ptr), value  handle,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(c_int), value  n,
type(c_ptr), value  A,
integer(c_int), value  lda,
type(c_ptr), value  ipiv 
)

◆ rocsolver_cungtr_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cungtr::rocsolver_cungtr_rank_0 ( type(c_ptr), value  handle,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(c_int), value  n,
complex(c_float_complex), target  A,
integer(c_int), value  lda,
complex(c_float_complex), target  ipiv 
)

◆ rocsolver_cungtr_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cungtr::rocsolver_cungtr_rank_1 ( type(c_ptr), value  handle,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(c_int), value  n,
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: