rocsolver_ssyevd Interface Reference#
hipfort_rocsolver::rocsolver_ssyevd Interface Reference
SYEVD computes the eigenvalues and optionally the eigenvectors of a real symmetric matrix A. More...
Public Member Functions | |
integer(kind(rocblas_status_success)) function | rocsolver_ssyevd_ (handle, evect, uplo, n, A, lda, D, E, myInfo) |
integer(kind(rocblas_status_success)) function | rocsolver_ssyevd_full_rank (handle, evect, uplo, n, A, lda, D, E, myInfo) |
integer(kind(rocblas_status_success)) function | rocsolver_ssyevd_rank_0 (handle, evect, uplo, n, A, lda, D, E, myInfo) |
integer(kind(rocblas_status_success)) function | rocsolver_ssyevd_rank_1 (handle, evect, uplo, n, A, lda, D, E, myInfo) |
Detailed Description
SYEVD computes the eigenvalues and optionally the eigenvectors of a real symmetric matrix A.
The eigenvalues are returned in ascending order. The eigenvectors are computed using a divide-and-conquer algorithm, depending on the value of evect. The computed eigenvectors are orthonormal.
- Parameters
-
[in] handle rocblas_handle. [in] evect rocblas_evect.
Specifies whether the eigenvectors are to be computed. If evect is rocblas_evect_original, then the eigenvectors are computed. rocblas_evect_tridiagonal is not supported.[in] uplo rocblas_fill.
Specifies whether the upper or lower part of the symmetric matrix A is stored. If uplo indicates lower (or upper), then the upper (or lower) part of A is not used.[in] n rocblas_int. n >= 0.
Number of rows and columns of matrix A.[in,out] A pointer to type. Array on the GPU of dimension lda*n.
On entry, the matrix A. On exit, the eigenvectors of A if they were computed and the algorithm converged; otherwise the contents of A are destroyed.[in] lda rocblas_int. lda >= n.
Specifies the leading dimension of matrix A.[out] D pointer to type. Array on the GPU of dimension n.
The eigenvalues of A in increasing order.[out] E pointer to type. Array on the GPU of dimension n.
This array is used to work internally with the tridiagonal matrix T associated with A. On exit, if info > 0, it contains the unconverged off-diagonal elements of T (or properly speaking, a tridiagonal matrix equivalent to T). The diagonal elements of this matrix are in D; those that converged correspond to a subset of the eigenvalues of A (not necessarily ordered).[out] info pointer to a rocblas_int on the GPU.
If info = 0, successful exit. If info = i > 0 and evect is rocblas_evect_none, the algorithm did not converge. i elements of E did not converge to zero. If info = i > 0 and evect is rocblas_evect_original, the algorithm failed to compute an eigenvalue in the submatrix from [i/(n+1), i/(n+1)] to [i%(n+1), i%(n+1)].
Member Function/Subroutine Documentation
◆ rocsolver_ssyevd_()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_ssyevd::rocsolver_ssyevd_ | ( | type(c_ptr), value | handle, |
integer(kind(rocblas_evect_original)), value | evect, | ||
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 | D, | ||
type(c_ptr), value | E, | ||
integer(c_int) | myInfo | ||
) |
◆ rocsolver_ssyevd_full_rank()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_ssyevd::rocsolver_ssyevd_full_rank | ( | type(c_ptr) | handle, |
integer(kind(rocblas_evect_original)) | evect, | ||
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 | D, | ||
real(c_float), dimension(:), target | E, | ||
integer(c_int) | myInfo | ||
) |
◆ rocsolver_ssyevd_rank_0()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_ssyevd::rocsolver_ssyevd_rank_0 | ( | type(c_ptr) | handle, |
integer(kind(rocblas_evect_original)) | evect, | ||
integer(kind(rocblas_fill_upper)) | uplo, | ||
integer(c_int) | n, | ||
real(c_float), target | A, | ||
integer(c_int) | lda, | ||
real(c_float), target | D, | ||
real(c_float), target | E, | ||
integer(c_int) | myInfo | ||
) |
◆ rocsolver_ssyevd_rank_1()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_ssyevd::rocsolver_ssyevd_rank_1 | ( | type(c_ptr) | handle, |
integer(kind(rocblas_evect_original)) | evect, | ||
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 | D, | ||
real(c_float), dimension(:), target | E, | ||
integer(c_int) | myInfo | ||
) |
The documentation for this interface was generated from the following file: