rocsolver_sgetri_outofplace Interface Reference#
hipfort_rocsolver::rocsolver_sgetri_outofplace Interface Reference
The GETRI_OUTOFPLACE functions compute the inverse \(C = A^{-1}\) of a general n -by-n matrix A.
More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocsolver_sgetri_outofplace_ (handle, n, a, lda, ipiv, c, ldc, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_sgetri_outofplace_rank_0 (handle, n, a, lda, ipiv, c, ldc, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_sgetri_outofplace_rank_1 (handle, n, a, lda, ipiv, c, ldc, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_sgetri_outofplace_full_rank (handle, n, a, lda, ipiv, c, ldc, myinfo) |
Detailed Description
The GETRI_OUTOFPLACE functions compute the inverse \(C = A^{-1}\) of a general n -by-n matrix A.
The inverse is computed by solving the linear system
\[ AC = I \]
where I is the identity matrix, and A is factorized as \(A = PLU\), as given by GETRF.
- Parameters
-
[in] handle - rocblas_handle. [in] n - rocblas_int. n >= 0. The number of rows and columns of the matrix A. [in] A - pointer to type. Array on the GPU of dimension lda*n. The factors L and U of the factorization \(A = PLU\) returned by GETRF. [in] lda - rocblas_int. lda >= n. Specifies the leading dimension of A. [in] ipiv - pointer to rocblas_int. Array on the GPU of dimension n. The pivot indices returned by GETRF. [out] C - pointer to type. Array on the GPU of dimension ldc*n. If info = 0, the inverse of A, and otherwise undefined. [in] ldc - rocblas_int. ldc >= n. Specifies the leading dimension of C. [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_outofplace_()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_outofplace::rocsolver_sgetri_outofplace_ | ( | type(c_ptr), value | handle, |
| integer(c_int), value | n, | ||
| type(c_ptr), value | a, | ||
| integer(c_int), value | lda, | ||
| type(c_ptr), value | ipiv, | ||
| type(c_ptr), value | c, | ||
| integer(c_int), value | ldc, | ||
| type(c_ptr), value | myinfo | ||
| ) |
◆ rocsolver_sgetri_outofplace_full_rank()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_outofplace::rocsolver_sgetri_outofplace_full_rank | ( | type(c_ptr) | handle, |
| integer(c_int) | n, | ||
| real(c_float), dimension(:,:), target | a, | ||
| integer(c_int) | lda, | ||
| integer(c_int), dimension(:), target | ipiv, | ||
| real(c_float), dimension(:,:), target | c, | ||
| integer(c_int) | ldc, | ||
| type(c_ptr) | myinfo | ||
| ) |
◆ rocsolver_sgetri_outofplace_rank_0()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_outofplace::rocsolver_sgetri_outofplace_rank_0 | ( | type(c_ptr) | handle, |
| integer(c_int) | n, | ||
| real(c_float), target | a, | ||
| integer(c_int) | lda, | ||
| integer(c_int), target | ipiv, | ||
| real(c_float), target | c, | ||
| integer(c_int) | ldc, | ||
| type(c_ptr) | myinfo | ||
| ) |
◆ rocsolver_sgetri_outofplace_rank_1()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_outofplace::rocsolver_sgetri_outofplace_rank_1 | ( | type(c_ptr) | handle, |
| integer(c_int) | n, | ||
| real(c_float), dimension(:), target | a, | ||
| integer(c_int) | lda, | ||
| integer(c_int), dimension(:), target | ipiv, | ||
| real(c_float), dimension(:), target | c, | ||
| integer(c_int) | ldc, | ||
| type(c_ptr) | myinfo | ||
| ) |
The documentation for this interface was generated from the following file: