zptsl


NAME

zptsl - (obsolete) solve the linear system Ax = b for a symmetric positive definite tridiagonal matrix A and vectors b and x.


SYNOPSIS

  SUBROUTINE ZPTSL( N, DIAG, OFFD, B)
  DOUBLE COMPLEX DIAG(*), OFFD(*), B(*)
  INTEGER N
 
  SUBROUTINE ZPTSL_64( N, DIAG, OFFD, B)
  DOUBLE COMPLEX DIAG(*), OFFD(*), B(*)
  INTEGER*8 N
 

C INTERFACE

#include <sunperf.h>

void zptsl(int n, doublecomplex *diag, doublecomplex *offd, doublecomplex *b);

void zptsl_64(long n, doublecomplex *diag, doublecomplex *offd, doublecomplex *b);


ARGUMENTS

* N (input)
Order of the matrix A. N >= 0.

* DIAG (input)
Main diagonal elements of A.

* OFFD (input)
Off diagonal elements of A. OFFD(1) through OFFD(N*1) contains the off diagonal elements; OFFD(N) is not referenced.

* B (input/output)
On entry, the right-hand side vector b. On exit, the solution vector x.