This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

rocsolver_sorgtr Interface Reference

rocsolver_sorgtr Interface Reference#

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

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

Detailed Description

ORGTR generates 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 \]

On the other hand, if uplo indicates lower, then Q has the form

\[ Q = H_1H_2\cdots H_{n-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 SYTRD in its arguments A and tau.

Parameters
[in]handlerocblas_handle.
[in]uplorocblas_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]nrocblas_int. n >= 0.
The number of rows and columns of the matrix Q.
[in,out]Apointer 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]ldarocblas_int. lda >= n.
Specifies the leading dimension of A.
[in]ipivpointer 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: