rocsolver_sgetrs_npvt Interface Reference

rocsolver_sgetrs_npvt Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_sgetrs_npvt Interface Reference
hipfort_rocsolver::rocsolver_sgetrs_npvt Interface Reference

The GETRS_NPVT functions solve a system of n linear equations on n variables in its factorized form. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_sgetrs_npvt_ (handle, trans, n, nrhs, a, lda, b, ldb)
 

Detailed Description

The GETRS_NPVT functions solve a system of n linear equations on n variables in its factorized form.

It solves one of the following systems, depending on the value of trans:

\[ \begin{array}{cl} A X = B & \: \text{not transposed,}\\% A^T X = B & \: \text{transposed, or}\\% A^H X = B & \: \text{conjugate transposed.} \end{array} \]

Matrix A is defined by its triangular factors, as returned by GETRF_NPVT.

Parameters
[in]handle- rocblas_handle.
[in]trans- rocblas_operation. Specifies the form of the system of equations.
[in]n- rocblas_int. n >= 0. The order of the system, that is, the number of columns and rows of A.
[in]nrhs- rocblas_int. nrhs >= 0. The number of right hand sides, that is, the number of columns of the matrix B.
[in]A- pointer to type. Array on the GPU of dimension lda*n. The factors L and U of the factorization \(A = LU\) returned by GETRF_NPVT.
[in]lda- rocblas_int. lda >= n. The leading dimension of A.
[in,out]B- pointer to type. Array on the GPU of dimension ldb*nrhs. On entry, the right hand side matrix B. On exit, the solution matrix X.
[in]ldb- rocblas_int. ldb >= n. The leading dimension of B.

Member Function/Subroutine Documentation

◆ rocsolver_sgetrs_npvt_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetrs_npvt::rocsolver_sgetrs_npvt_ ( type(c_ptr), value  handle,
integer(kind(rocblas_operation_none)), value  trans,
integer(c_int), value  n,
integer(c_int), value  nrhs,
type(c_ptr), value  a,
integer(c_int), value  lda,
type(c_ptr), value  b,
integer(c_int), value  ldb 
)

The documentation for this interface was generated from the following file: