rocsolver_sgetri_npvt Interface Reference#
hipfort_rocsolver::rocsolver_sgetri_npvt Interface Reference
The GETRI_NPVT functions invert a general n -by-n matrix A using the LU factorization computed by GETRF_NPVT.
More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocsolver_sgetri_npvt_ (handle, n, a, lda, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_sgetri_npvt_rank_0 (handle, n, a, lda, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_sgetri_npvt_rank_1 (handle, n, a, lda, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_sgetri_npvt_full_rank (handle, n, a, lda, myinfo) |
Detailed Description
The GETRI_NPVT functions invert a general n -by-n matrix A using the LU factorization computed by GETRF_NPVT.
The inverse is computed by solving the linear system
\[ A^{-1}L = U^{-1} \]
where L is the lower triangular factor of A with unit diagonal elements, and U is the upper triangular factor.
- Parameters
-
[in] handle - rocblas_handle. [in] n - rocblas_int. n >= 0. The number of rows and columns of the matrix A. [in,out] A - pointer to type. Array on the GPU of dimension lda*n. On entry, the factors L and U of the factorization \(A = LU\) returned by GETRF_NPVT. On exit, the inverse of A if info = 0, and otherwise undefined. [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. If info = i > 0, U is singular. U[i,i] is the first zero pivot.
Member Function/Subroutine Documentation
◆ rocsolver_sgetri_npvt_()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_npvt::rocsolver_sgetri_npvt_ | ( | type(c_ptr), value | handle, |
| integer(c_int), value | n, | ||
| type(c_ptr), value | a, | ||
| integer(c_int), value | lda, | ||
| type(c_ptr), value | myinfo | ||
| ) |
◆ rocsolver_sgetri_npvt_full_rank()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_npvt::rocsolver_sgetri_npvt_full_rank | ( | type(c_ptr) | handle, |
| integer(c_int) | n, | ||
| real(c_float), dimension(:,:), target | a, | ||
| integer(c_int) | lda, | ||
| type(c_ptr) | myinfo | ||
| ) |
◆ rocsolver_sgetri_npvt_rank_0()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_npvt::rocsolver_sgetri_npvt_rank_0 | ( | type(c_ptr) | handle, |
| integer(c_int) | n, | ||
| real(c_float), target | a, | ||
| integer(c_int) | lda, | ||
| type(c_ptr) | myinfo | ||
| ) |
◆ rocsolver_sgetri_npvt_rank_1()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_npvt::rocsolver_sgetri_npvt_rank_1 | ( | type(c_ptr) | handle, |
| 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: