rocsolver_sorgbr Interface Reference

rocsolver_sorgbr Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_sorgbr Interface Reference
hipfort_rocsolver::rocsolver_sorgbr Interface Reference

ORGBR generates 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_full_rank (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)
 

Detailed Description

ORGBR generates 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_1H_2\cdots H_k \]

If m < k, Q is defined as the product of Householder reflectors of order m

\[ Q = H_1H_2\cdots 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_kH_{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 its corresponding Householder vectors \(v_i\) and scalars \(\text{ipiv}[i]\), as returned by GEBRD in its arguments A and tauq or taup.

Parameters
[in]handlerocblas_handle.
[in]storevrocblas_storev.
Specifies whether to work column-wise or row-wise.
[in]mrocblas_int. m >= 0.
The number of rows of the matrix Q. If row-wise, then min(n,k) <= m <= n.
[in]nrocblas_int. n >= 0.
The number of columns of the matrix Q. If column-wise, then min(m,k) <= n <= m.
[in]krocblas_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]Apointer 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]ldarocblas_int. lda >= m.
Specifies the leading dimension of A.
[in]ipivpointer 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: