rocsolver_sorgbr Interface Reference#
The ORGBR functions generate an m -by-n Matrix Q with orthonormal rows or columns.
More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocsolver_sorgbr_ (handle, storev, m, n, k, a, lda, ipiv) |
| integer(kind(rocblas_status_success)) function | rocsolver_sorgbr_rank_0 (handle, storev, m, n, k, a, lda, ipiv) |
| integer(kind(rocblas_status_success)) function | rocsolver_sorgbr_rank_1 (handle, storev, m, n, k, a, lda, ipiv) |
| integer(kind(rocblas_status_success)) function | rocsolver_sorgbr_full_rank (handle, storev, m, n, k, a, lda, ipiv) |
Detailed Description
The ORGBR functions generate an m -by-n 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)\cdots H(k) \]
If m < k, Q is defined as the product of Householder reflectors of order m
\[ Q = H(1)H(2)\cdots H(m-1) \]
However, 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)\cdots H(1) \]
If n <= k, Q is defined as the product of Householder reflectors of order n
\[ Q = H(n-1)H(n-2)\cdots H(1) \]
The Householder matrices \(H(i)\) are never stored. They are computed from the corresponding Householder vectors \(v_i\) and scalars \(\text{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 column-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 lda*n. On entry, the Householder vectors 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 Householder scalars as returned by GEBRD.
Member Function/Subroutine Documentation
◆ rocsolver_sorgbr_()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorgbr::rocsolver_sorgbr_ | ( | 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_sorgbr_full_rank()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorgbr::rocsolver_sorgbr_full_rank | ( | type(c_ptr) | handle, |
| integer(kind(rocblas_column_wise)) | storev, | ||
| integer(c_int) | m, | ||
| integer(c_int) | n, | ||
| integer(c_int) | k, | ||
| real(c_float), dimension(:,:), target | a, | ||
| integer(c_int) | lda, | ||
| real(c_float), dimension(:), target | ipiv | ||
| ) |
◆ rocsolver_sorgbr_rank_0()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorgbr::rocsolver_sorgbr_rank_0 | ( | type(c_ptr) | handle, |
| integer(kind(rocblas_column_wise)) | storev, | ||
| integer(c_int) | m, | ||
| integer(c_int) | n, | ||
| integer(c_int) | k, | ||
| real(c_float), target | a, | ||
| integer(c_int) | lda, | ||
| real(c_float), target | ipiv | ||
| ) |
◆ rocsolver_sorgbr_rank_1()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorgbr::rocsolver_sorgbr_rank_1 | ( | type(c_ptr) | handle, |
| integer(kind(rocblas_column_wise)) | storev, | ||
| integer(c_int) | m, | ||
| integer(c_int) | n, | ||
| integer(c_int) | k, | ||
| real(c_float), dimension(:), target | a, | ||
| integer(c_int) | lda, | ||
| real(c_float), dimension(:), target | ipiv | ||
| ) |
The documentation for this interface was generated from the following file: