1CPTTRS(1)                LAPACK routine (version 3.2)                CPTTRS(1)
2
3
4

NAME

6       CPTTRS  -  solves a tridiagonal system of the form  A * X = B using the
7       factorization A = U'*D*U or A = L*D*L' computed by CPTTRF
8

SYNOPSIS

10       SUBROUTINE CPTTRS( UPLO, N, NRHS, D, E, B, LDB, INFO )
11
12           CHARACTER      UPLO
13
14           INTEGER        INFO, LDB, N, NRHS
15
16           REAL           D( * )
17
18           COMPLEX        B( LDB, * ), E( * )
19

PURPOSE

21       CPTTRS solves a tridiagonal system of the form
22          A * X = B using the factorization A = U'*D*U or A = L*D*L'  computed
23       by  CPTTRF.  D is a diagonal matrix specified in the vector D, U (or L)
24       is a unit bidiagonal matrix whose superdiagonal (subdiagonal) is speci‐
25       fied in the vector E, and X and B are N by NRHS matrices.
26

ARGUMENTS

28       UPLO    (input) CHARACTER*1
29               Specifies  the form of the factorization and whether the vector
30               E is the superdiagonal of the upper bidiagonal factor U or  the
31               subdiagonal  of  the  lower  bidiagonal  factor L.  = 'U':  A =
32               U'*D*U, E is the superdiagonal of U
33               = 'L':  A = L*D*L', E is the subdiagonal of L
34
35       N       (input) INTEGER
36               The order of the tridiagonal matrix A.  N >= 0.
37
38       NRHS    (input) INTEGER
39               The number of right hand sides, i.e., the number of columns  of
40               the matrix B.  NRHS >= 0.
41
42       D       (input) REAL array, dimension (N)
43               The  n diagonal elements of the diagonal matrix D from the fac‐
44               torization A = U'*D*U or A = L*D*L'.
45
46       E       (input) COMPLEX array, dimension (N-1)
47               If UPLO = 'U', the (n-1) superdiagonal  elements  of  the  unit
48               bidiagonal factor U from the factorization A = U'*D*U.  If UPLO
49               = 'L', the (n-1) subdiagonal elements of  the  unit  bidiagonal
50               factor L from the factorization A = L*D*L'.
51
52       B       (input/output) REAL array, dimension (LDB,NRHS)
53               On  entry, the right hand side vectors B for the system of lin‐
54               ear equations.  On exit, the solution vectors, X.
55
56       LDB     (input) INTEGER
57               The leading dimension of the array B.  LDB >= max(1,N).
58
59       INFO    (output) INTEGER
60               = 0: successful exit
61               < 0: if INFO = -k, the k-th argument had an illegal value
62
63
64
65 LAPACK routine (version 3.2)    November 2008                       CPTTRS(1)
Impressum