# chetrs_aa.f

Section: LAPACK (3)
Updated: Tue Nov 14 2017
Page Index

chetrs_aa.f

## SYNOPSIS

### Functions/Subroutines

subroutine chetrs_aa (UPLO, N, NRHS, A, LDA, IPIV, B, LDB, WORK, LWORK, INFO)
CHETRS_AA

## Function/Subroutine Documentation

### subroutine chetrs_aa (character UPLO, integer N, integer NRHS, complex, dimension( lda, * ) A, integer LDA, integer, dimension( * ) IPIV, complex, dimension( ldb, * ) B, integer LDB, complex, dimension( * ) WORK, integer LWORK, integer INFO)

CHETRS_AA

Purpose:

``` CHETRS_AA solves a system of linear equations A*X = B with a complex
hermitian matrix A using the factorization A = U*T*U**H or
A = L*T*L**H computed by CHETRF_AA.
```

Parameters:

UPLO

```          UPLO is CHARACTER*1
Specifies whether the details of the factorization are stored
as an upper or lower triangular matrix.
= 'U':  Upper triangular, form is A = U*T*U**H;
= 'L':  Lower triangular, form is A = L*T*L**H.
```

N

```          N is INTEGER
The order of the matrix A.  N >= 0.
```

NRHS

```          NRHS is INTEGER
The number of right hand sides, i.e., the number of columns
of the matrix B.  NRHS >= 0.
```

A

```          A is COMPLEX array, dimension (LDA,N)
Details of factors computed by CHETRF_AA.
```

LDA

```          LDA is INTEGER
The leading dimension of the array A.  LDA >= max(1,N).
```

IPIV

```          IPIV is INTEGER array, dimension (N)
Details of the interchanges as computed by CHETRF_AA.
```

B

```          B is COMPLEX array, dimension (LDB,NRHS)
On entry, the right hand side matrix B.
On exit, the solution matrix X.
```

LDB

```          LDB is INTEGER
The leading dimension of the array B.  LDB >= max(1,N).
```

WORK

```          WORK is DOUBLE array, dimension (MAX(1,LWORK))
```

LWORK

```          LWORK is INTEGER, LWORK >= MAX(1,3*N-2).

aram[out] INFO
ssful exit
< 0:  if INFO = -i, the i-th argument had an illegal value
```

Author:

Univ. of Tennessee

Univ. of California Berkeley