rocsolver_spotri Interface Reference#
hipfort_rocsolver::rocsolver_spotri Interface Reference
The POTRI functions invert a symmetric/Hermitian positive definite matrix A.
More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocsolver_spotri_ (handle, uplo, n, a, lda, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_spotri_rank_0 (handle, uplo, n, a, lda, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_spotri_rank_1 (handle, uplo, n, a, lda, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_spotri_full_rank (handle, uplo, n, a, lda, myinfo) |
Detailed Description
The POTRI functions invert a symmetric/Hermitian positive definite matrix A.
The inverse of matrix \(A\) is computed as
\[ \begin{array}{cl} A^{-1} = U^{-1} {U^{-1}}^H & \: \text{if uplo is upper, or}\\% A^{-1} = {L^{-1}}^H L^{-1} & \: \text{if uplo is lower.} \end{array} \]
where \(U\) or \(L\) is the triangular factor of the Cholesky factorization of \(A\) returned by POTRF.
- Parameters
-
[in] handle - rocblas_handle. [in] uplo - rocblas_fill. Specifies whether the factorization is 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 matrix A. [in,out] A - pointer to type. Array on the GPU of dimension lda*n. On entry, the factor L or U of the Cholesky factorization of A returned by POTRF. On exit, the inverse of A if info = 0. [in] lda - rocblas_int. lda >= n. Specifies the leading dimension of A. [out] myInfo - pointer to a rocblas_int on the GPU. If info = 0, successful exit for inversion of A. If info = i > 0, A is singular. L[i,i] or U[i,i] is zero.
Member Function/Subroutine Documentation
◆ rocsolver_spotri_()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotri::rocsolver_spotri_ | ( | 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 | myinfo | ||
| ) |
◆ rocsolver_spotri_full_rank()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotri::rocsolver_spotri_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, | ||
| type(c_ptr) | myinfo | ||
| ) |
◆ rocsolver_spotri_rank_0()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotri::rocsolver_spotri_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, | ||
| type(c_ptr) | myinfo | ||
| ) |
◆ rocsolver_spotri_rank_1()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotri::rocsolver_spotri_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, | ||
| type(c_ptr) | myinfo | ||
| ) |
The documentation for this interface was generated from the following file: