rocsolver_cungbr Interface Reference#
! More...
Public Member Functions | |
integer(kind(rocblas_status_success)) function | rocsolver_cungbr_full_rank (handle, storev, m, n, k, A, lda, ipiv) |
integer(kind(rocblas_status_success)) function | rocsolver_cungbr_orig (handle, storev, m, n, k, A, lda, ipiv) |
integer(kind(rocblas_status_success)) function | rocsolver_cungbr_rank_0 (handle, storev, m, n, k, A, lda, ipiv) |
integer(kind(rocblas_status_success)) function | rocsolver_cungbr_rank_1 (handle, storev, m, n, k, A, lda, ipiv) |
Detailed Description
!
UNGBR generates a m-by-n complex Matrix Q with orthonormal rows or columns.
If storev is column-wise, then the matrix Q has orthonormal columns. If m >= k, Q is defined as the first n columns of the product of k Householder reflectors of order m
Q = H(1) H(2) ... H(k)
If m < k, Q is defined as the product of Householder reflectors of order m
Q = H(1) H(2) ... H(m-1)
On the other hand, if storev is row-wise, then the matrix Q has orthonormal rows. If n > k, Q is defined as the first m rows of the product of k Householder reflectors of order n
Q = H(k) H(k-1) ... H(1)
If n <= k, Q is defined as the product of Householder reflectors of order n
Q = H(n-1) H(n-2) ... H(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 GEBRD in its arguments A and tauq or taup.
- Parameters
-
[in] handle rocblas_handle. [in] storev #rocblas_storev.
Specifies whether to work column-wise or row-wise.[in] m rocblas_int. m >= 0.
The number of rows of the matrix Q. If row-wise, then min(n,k) <= m <= n.[in] n rocblas_int. n >= 0.
The number of columns of the matrix Q. If column-wise, then min(m,k) <= n <= m.[in] k rocblas_int. k >= 0.
The number of columns (if storev is colum-wise) or rows (if row-wise) of the original matrix reduced by GEBRD.[in,out] A pointer to type. Array on the GPU of dimension ldan.
On entry, the i-th column (or row) has the Householder vector v(i) as returned by GEBRD. 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 min(m,k) if column-wise, or min(n,k) if row-wise.
The scalar factors of the Householder matrices H(i) as returned by GEBRD.
Member Function/Subroutine Documentation
◆ rocsolver_cungbr_full_rank()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cungbr::rocsolver_cungbr_full_rank | ( | type(c_ptr), value | handle, |
integer(kind(rocblas_column_wise)), value | storev, | ||
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_cungbr_orig()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cungbr::rocsolver_cungbr_orig | ( | type(c_ptr), value | handle, |
integer(kind(rocblas_column_wise)), value | storev, | ||
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_cungbr_rank_0()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cungbr::rocsolver_cungbr_rank_0 | ( | type(c_ptr), value | handle, |
integer(kind(rocblas_column_wise)), value | storev, | ||
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_cungbr_rank_1()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cungbr::rocsolver_cungbr_rank_1 | ( | type(c_ptr), value | handle, |
integer(kind(rocblas_column_wise)), value | storev, | ||
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: