rocsolver_sorgtr Interface Reference

rocsolver_sorgtr Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_sorgtr Interface Reference
hipfort_rocsolver::rocsolver_sorgtr Interface Reference

The ORGTR functions generate an n-by-n orthogonal Matrix Q. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_sorgtr_ (handle, uplo, n, a, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_sorgtr_rank_0 (handle, uplo, n, a, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_sorgtr_rank_1 (handle, uplo, n, a, lda, ipiv)
 
integer(kind(rocblas_status_success)) function rocsolver_sorgtr_full_rank (handle, uplo, n, a, lda, ipiv)
 

Detailed Description

The ORGTR functions generate an n-by-n orthogonal 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)\cdots H(1) \]

However, if uplo indicates lower, then Q has the form

\[ Q = H(1)H(2)\cdots H(n-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 SYTRD in its arguments A and tau.

Parameters
[in]handle- rocblas_handle.
[in]uplo- rocblas_fill. Specifies whether the SYTRD factorization was upper or lower triangular. If uplo indicates lower (or upper), then the upper (or lower) part of A is not used.
[in]n- rocblas_int. n >= 0. The number of rows and columns of the matrix Q.
[in,out]A- pointer to type. Array on the GPU of dimension lda*n. On entry, the Householder vectors as returned by SYTRD. On exit, the computed matrix Q.
[in]lda- rocblas_int. lda >= n. Specifies the leading dimension of A.
[in]ipiv- pointer to type. Array on the GPU of dimension n-1. The Householder scalars as returned by SYTRD.

Member Function/Subroutine Documentation

◆ rocsolver_sorgtr_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorgtr::rocsolver_sorgtr_ ( 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_sorgtr_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorgtr::rocsolver_sorgtr_full_rank ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
real(c_float), dimension(:,:), target  a,
integer(c_int)  lda,
real(c_float), dimension(:), target  ipiv 
)

◆ rocsolver_sorgtr_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sorgtr::rocsolver_sorgtr_rank_0 ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
real(c_float), target  a,
integer(c_int)  lda,
real(c_float), target  ipiv 
)

◆ rocsolver_sorgtr_rank_1()

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