rocsolver_ssterf Interface Reference

rocsolver_ssterf Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_ssterf Interface Reference
hipfort_rocsolver::rocsolver_ssterf Interface Reference

STERF computes the eigenvalues of a symmetric tridiagonal matrix. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_ssterf_ (handle, n, D, E, myInfo)
 
integer(kind(rocblas_status_success)) function rocsolver_ssterf_rank_0 (handle, n, D, E, myInfo)
 
integer(kind(rocblas_status_success)) function rocsolver_ssterf_rank_1 (handle, n, D, E, myInfo)
 

Detailed Description

STERF computes the eigenvalues of a symmetric tridiagonal matrix.

The eigenvalues of the symmetric tridiagonal matrix are computed by the Pal-Walker-Kahan variant of the QL/QR algorithm, and returned in increasing order.

The matrix is not represented explicitly, but rather as the array of diagonal elements D and the array of symmetric off-diagonal elements E.

Parameters
[in]handlerocblas_handle.
[in]nrocblas_int. n >= 0.
The number of rows and columns of the tridiagonal matrix.
[in,out]Dpointer to real type. Array on the GPU of dimension n.
On entry, the diagonal elements of the tridiagonal matrix. On exit, if info = 0, the eigenvalues in increasing order. If info > 0, the diagonal elements of a tridiagonal matrix that is similar to the original matrix (i.e. has the same eigenvalues).
[in,out]Epointer to real type. Array on the GPU of dimension n-1.
On entry, the off-diagonal elements of the tridiagonal matrix. On exit, if info = 0, this array converges to zero. If info > 0, the off-diagonal elements of a tridiagonal matrix that is similar to the original matrix (i.e. has the same eigenvalues).
[out]infopointer to a rocblas_int on the GPU.
If info = 0, successful exit. If info = i > 0, STERF did not converge. i elements of E did not converge to zero.

Member Function/Subroutine Documentation

◆ rocsolver_ssterf_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_ssterf::rocsolver_ssterf_ ( type(c_ptr), value  handle,
integer(c_int), value  n,
type(c_ptr), value  D,
type(c_ptr), value  E,
integer(c_int)  myInfo 
)

◆ rocsolver_ssterf_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_ssterf::rocsolver_ssterf_rank_0 ( type(c_ptr)  handle,
integer(c_int)  n,
real(c_float), target  D,
real(c_float), target  E,
integer(c_int)  myInfo 
)

◆ rocsolver_ssterf_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_ssterf::rocsolver_ssterf_rank_1 ( type(c_ptr)  handle,
integer(c_int)  n,
real(c_float), dimension(:), target  D,
real(c_float), dimension(:), target  E,
integer(c_int)  myInfo 
)

The documentation for this interface was generated from the following file: