rocsolver_sorm2r Interface Reference#
hipfort_rocsolver::rocsolver_sorm2r Interface Reference
! More...
Public Member Functions | |
integer(kind(rocblas_status_success)) function | rocsolver_sorm2r_full_rank (handle, side, trans, m, n, k, A, lda, ipiv, C, ldc) |
integer(kind(rocblas_status_success)) function | rocsolver_sorm2r_orig (handle, side, trans, m, n, k, A, lda, ipiv, C, ldc) |
integer(kind(rocblas_status_success)) function | rocsolver_sorm2r_rank_0 (handle, side, trans, m, n, k, A, lda, ipiv, C, ldc) |
integer(kind(rocblas_status_success)) function | rocsolver_sorm2r_rank_1 (handle, side, trans, m, n, k, A, lda, ipiv, C, ldc) |
Detailed Description
!
ORM2R applies a matrix Q with orthonormal columns to a general m-by-n matrix C.
(This is the unblocked version of the algorithm).
The matrix Q is applied in one of the following forms, depending on the values of side and trans:
Q C (No transpose from the left) Q' C (Transpose from the left) C Q (No transpose from the right), and C Q' (Transpose from the right)
Q is an orthogonal matrix defined as the product of k Householder reflectors as
Q = H(1) H(2) ... H(k)
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 QR factorization GEQRF.
- Parameters
-
[in] handle rocblas_handle. [in] side rocblas_side.
Specifies from which side to apply Q.[in] trans rocblas_operation.
Specifies whether the matrix Q or its 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] k rocblas_int. k >= 0; k <= m if side is left, k <= n if side is right.
The number of Householder reflectors that form Q.[in] A pointer to type. Array on the GPU of size ldak.
The i-th column has the Householder vector v(i) associated with H(i) as returned by GEQRF in the first k columns of its argument A.[in] lda rocblas_int. lda >= m if side is left, or lda >= n if side is right.
Leading dimension of A.[in] ipiv pointer to type. Array on the GPU of dimension at least k.
The scalar factors of the Householder matrices H(i) as returned by GEQRF.[in,out] C pointer to type. Array on the GPU of size ldcn.
On input, the matrix C. On output it is overwritten with QC, CQ, Q'C, or CQ'.[in] ldc rocblas_int. ldc >= m.
Leading dimension of C.
Member Function/Subroutine Documentation
◆ rocsolver_sorm2r_full_rank()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorm2r::rocsolver_sorm2r_full_rank | ( | 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, | ||
real(c_float), dimension(:,:), target | A, | ||
integer(c_int), value | lda, | ||
real(c_float), dimension(:), target | ipiv, | ||
real(c_float), dimension(:,:), target | C, | ||
integer(c_int), value | ldc | ||
) |
◆ rocsolver_sorm2r_orig()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorm2r::rocsolver_sorm2r_orig | ( | 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_sorm2r_rank_0()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorm2r::rocsolver_sorm2r_rank_0 | ( | 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, | ||
real(c_float), target | A, | ||
integer(c_int), value | lda, | ||
real(c_float), target | ipiv, | ||
real(c_float), target | C, | ||
integer(c_int), value | ldc | ||
) |
◆ rocsolver_sorm2r_rank_1()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorm2r::rocsolver_sorm2r_rank_1 | ( | 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, | ||
real(c_float), dimension(:), target | A, | ||
integer(c_int), value | lda, | ||
real(c_float), dimension(:), target | ipiv, | ||
real(c_float), dimension(:), target | C, | ||
integer(c_int), value | ldc | ||
) |
The documentation for this interface was generated from the following file: