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

NAME

6       SPTTRS  -  solves a tridiagonal system of the form  A * X = B using the
7       L*D*L' factorization of A computed by SPTTRF
8

SYNOPSIS

10       SUBROUTINE SPTTRS( N, NRHS, D, E, B, LDB, INFO )
11
12           INTEGER        INFO, LDB, N, NRHS
13
14           REAL           B( LDB, * ), D( * ), E( * )
15

PURPOSE

17       SPTTRS solves a tridiagonal system of the form
18          A * X = B using the L*D*L' factorization of A computed by SPTTRF.  D
19       is  a diagonal matrix specified in the vector D, L is a unit bidiagonal
20       matrix whose subdiagonal is specified in the vector E, and X and B  are
21       N by NRHS matrices.
22

ARGUMENTS

24       N       (input) INTEGER
25               The order of the tridiagonal matrix A.  N >= 0.
26
27       NRHS    (input) INTEGER
28               The  number of right hand sides, i.e., the number of columns of
29               the matrix B.  NRHS >= 0.
30
31       D       (input) REAL array, dimension (N)
32               The n diagonal elements of  the  diagonal  matrix  D  from  the
33               L*D*L' factorization of A.
34
35       E       (input) REAL array, dimension (N-1)
36               The  (n-1) subdiagonal elements of the unit bidiagonal factor L
37               from the L*D*L' factorization of A.  E can also be regarded  as
38               the superdiagonal of the unit bidiagonal factor U from the fac‐
39               torization A = U'*D*U.
40
41       B       (input/output) REAL array, dimension (LDB,NRHS)
42               On entry, the right hand side vectors B for the system of  lin‐
43               ear equations.  On exit, the solution vectors, X.
44
45       LDB     (input) INTEGER
46               The leading dimension of the array B.  LDB >= max(1,N).
47
48       INFO    (output) INTEGER
49               = 0: successful exit
50               < 0: if INFO = -k, the k-th argument had an illegal value
51
52
53
54 LAPACK routine (version 3.2)    November 2008                       SPTTRS(1)
Impressum