rocsolver_ssytrs Interface Reference

rocsolver_ssytrs Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_ssytrs Interface Reference
hipfort_rocsolver::rocsolver_ssytrs Interface Reference

The SYTRS 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_ssytrs_ (handle, uplo, n, nrhs, a, lda, ipiv, b, ldb)
 

Detailed Description

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

It solves the linear system \( A X = B \), where the n-by-n matrix A is symmetric and maybe indefinite, using one of the following factorizations that depends on the value of uplo:

\[ \begin{array}{cl} A X = B & \: \text{where} \\% A = U D U^T & \: \text{ U is upper triangular or}\\% A = L D L^T & \: \text{ L is lower triangular} \end{array} \]

Matrix \(A\) is defined by its triangular factors, as returned by SYTRF. Matrix \(D\) is a symmetric block diagonal matrix with 1-by-1 or 2-by-2 diagonal blocks.

Parameters
[in]handle- rocblas_handle.
[in]uplo- rocblas_fill. Specifies whether the factorization of matrix \( A \) is upper or lower triangular.
[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 (or U) and D of the factorization A returned by SYTRF.
[in]lda- rocblas_int. lda >= n. The leading dimension of A.
[in]ipiv- pointer to rocblas_int. Array on the GPU of dimension n. The pivot indices returned by SYTRF.
[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_ssytrs_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_ssytrs::rocsolver_ssytrs_ ( type(c_ptr), value  handle,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(c_int), value  n,
integer(c_int), value  nrhs,
type(c_ptr), value  a,
integer(c_int), value  lda,
type(c_ptr), value  ipiv,
type(c_ptr), value  b,
integer(c_int), value  ldb 
)

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