1DPTSV(1)                 LAPACK routine (version 3.1)                 DPTSV(1)
2
3
4

NAME

6       DPTSV  -  the  solution  to  a real system of linear equations A*X = B,
7       where A is an N-by-N symmetric positive  definite  tridiagonal  matrix,
8       and X and B are N-by-NRHS matrices
9

SYNOPSIS

11       SUBROUTINE DPTSV( N, NRHS, D, E, B, LDB, INFO )
12
13           INTEGER       INFO, LDB, N, NRHS
14
15           DOUBLE        PRECISION B( LDB, * ), D( * ), E( * )
16

PURPOSE

18       DPTSV  computes the solution to a real system of linear equations A*X =
19       B, where A is an N-by-N symmetric positive definite tridiagonal matrix,
20       and X and B are N-by-NRHS matrices.
21
22       A  is factored as A = L*D*L**T, and the factored form of A is then used
23       to solve the system of equations.
24
25

ARGUMENTS

27       N       (input) INTEGER
28               The order of the matrix A.  N >= 0.
29
30       NRHS    (input) INTEGER
31               The number of right hand sides, i.e., the number of columns  of
32               the matrix B.  NRHS >= 0.
33
34       D       (input/output) DOUBLE PRECISION array, dimension (N)
35               On  entry, the n diagonal elements of the tridiagonal matrix A.
36               On exit, the n diagonal elements of the diagonal matrix D  from
37               the factorization A = L*D*L**T.
38
39       E       (input/output) DOUBLE PRECISION array, dimension (N-1)
40               On  entry,  the  (n-1)  subdiagonal elements of the tridiagonal
41               matrix A.  On exit, the (n-1) subdiagonal elements of the  unit
42               bidiagonal  factor  L from the L*D*L**T factorization of A.  (E
43               can also be regarded as the superdiagonal of the unit  bidiago‐
44               nal factor U from the U**T*D*U factorization of A.)
45
46       B       (input/output) DOUBLE PRECISION array, dimension (LDB,NRHS)
47               On  entry, the N-by-NRHS right hand side matrix B.  On exit, if
48               INFO = 0, the N-by-NRHS solution matrix X.
49
50       LDB     (input) INTEGER
51               The leading dimension of the array B.  LDB >= max(1,N).
52
53       INFO    (output) INTEGER
54               = 0:  successful exit
55               < 0:  if INFO = -i, the i-th argument had an illegal value
56               > 0:  if INFO = i, the leading minor of order i is not positive
57               definite,  and the solution has not been computed.  The factor‐
58               ization has not been completed unless i = N.
59
60
61
62 LAPACK routine (version 3.1)    November 2006                        DPTSV(1)
Impressum