rocsolver_sgeblttrs_npvt Interface Reference#
The GEBLTTRS_NPVT functions solve a system of linear equations given by a block tridiagonal matrix in its factorized form (without partial pivoting). More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocsolver_sgeblttrs_npvt_ (handle, nb, nblocks, nrhs, a, lda, b, ldb, c, ldc, x, ldx) |
Detailed Description
The GEBLTTRS_NPVT functions solve a system of linear equations given by a block tridiagonal matrix in its factorized form (without partial pivoting).
The linear system has the form
\[ MX = \left[\begin{array}{ccccc} B_1 & C_1 & & & \\% A_1 & B_2 & C_2 & & \\% & \ddots & \ddots & \ddots & \\% & & A_{n-2} & B_{n-1} & C_{n-1} \\% & & & A_{n-1} & B_n \end{array}\right]\left[\begin{array}{c} X_1\\% X_2\\% X_3\\% \vdots\\% X_n \end{array}\right]=\left[\begin{array}{c} R_1\\% R_2\\% R_3\\% \vdots\\% R_n \end{array}\right]=R \]
where matrix M has \(n = \) nblocks diagonal blocks of size nb, and the right-hand-side blocks \(R_i\) are general blocks of size nb -by-nrhs. The blocks of matrix M should be in the factorized form, as returned by GEBLTTRF_NPVT.
- Parameters
-
[in] handle - rocblas_handle. [in] nb - rocblas_int. nb >= 0. The number of rows and columns of each block. [in] nblocks - rocblas_int. nblocks >= 0. The number of blocks along the diagonal of the matrix. [in] nrhs - rocblas_int. nrhs >= 0. The number of right hand sides, that is, the number of columns of blocks R_i. [in] A - pointer to type. Array on the GPU of dimension lda*nb*(nblocks-1). Contains the blocks A_i, as returned by GEBLTTRF_NPVT. [in] lda - rocblas_int. lda >= nb. Specifies the leading dimension of blocks A_i. [in] B - pointer to type. Array on the GPU of dimension ldb*nb*nblocks. Contains the blocks B_i, as returned by GEBLTTRF_NPVT. [in] ldb - rocblas_int. ldb >= nb. Specifies the leading dimension of blocks B_i. [in] C - pointer to type. Array on the GPU of dimension ldc*nb*(nblocks-1). Contains the blocks C_i, as returned by GEBLTTRF_NPVT. [in] ldc - rocblas_int. ldc >= nb. Specifies the leading dimension of blocks C_i. [in,out] X - pointer to type. Array on the GPU of dimension ldx*nblocks*nrhs. On entry, X contains the right-hand-side blocks R_i. It is overwritten by solution vectors X_i on exit. [in] ldx - rocblas_int. ldx >= nb. Specifies the leading dimension of blocks X_i.
Member Function/Subroutine Documentation
◆ rocsolver_sgeblttrs_npvt_()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgeblttrs_npvt::rocsolver_sgeblttrs_npvt_ | ( | type(c_ptr), value | handle, |
| integer(c_int), value | nb, | ||
| integer(c_int), value | nblocks, | ||
| 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, | ||
| type(c_ptr), value | c, | ||
| integer(c_int), value | ldc, | ||
| type(c_ptr), value | x, | ||
| integer(c_int), value | ldx | ||
| ) |
The documentation for this interface was generated from the following file: