rocsolver_cheev Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_cheev Interface Reference
hipfort_rocsolver::rocsolver_cheev Interface Reference

HEEV computes the eigenvalues and optionally the eigenvectors of a Hermitian matrix A. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_cheev_ (handle, evect, uplo, n, A, lda, D, E, myInfo)

integer(kind(rocblas_status_success)) function rocsolver_cheev_full_rank (handle, evect, uplo, n, A, lda, D, E, myInfo)

integer(kind(rocblas_status_success)) function rocsolver_cheev_rank_0 (handle, evect, uplo, n, A, lda, D, E, myInfo)

integer(kind(rocblas_status_success)) function rocsolver_cheev_rank_1 (handle, evect, uplo, n, A, lda, D, E, myInfo)

Detailed Description

HEEV computes the eigenvalues and optionally the eigenvectors of a Hermitian matrix A.

The eigenvalues are returned in ascending order. The eigenvectors are computed 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 Hermitian 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 real type. Array on the GPU of dimension n. The eigenvalues of A in increasing order. [out] E pointer to real 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, the algorithm did not converge. i elements of E did not converge to zero.

◆ rocsolver_cheev_()

 integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cheev::rocsolver_cheev_ ( 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_cheev_full_rank()

 integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cheev::rocsolver_cheev_full_rank ( type(c_ptr) handle, integer(kind(rocblas_evect_original)) evect, integer(kind(rocblas_fill_upper)) uplo, integer(c_int) n, complex(c_float_complex), dimension(:,:), target A, integer(c_int) lda, real(c_float), dimension(:), target D, real(c_float), dimension(:), target E, integer(c_int) myInfo )

◆ rocsolver_cheev_rank_0()

 integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cheev::rocsolver_cheev_rank_0 ( type(c_ptr) handle, integer(kind(rocblas_evect_original)) evect, integer(kind(rocblas_fill_upper)) uplo, integer(c_int) n, complex(c_float_complex), target A, integer(c_int) lda, real(c_float), target D, real(c_float), target E, integer(c_int) myInfo )

◆ rocsolver_cheev_rank_1()

 integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_cheev::rocsolver_cheev_rank_1 ( type(c_ptr) handle, integer(kind(rocblas_evect_original)) evect, integer(kind(rocblas_fill_upper)) uplo, integer(c_int) n, complex(c_float_complex), 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: