sptsl
sptsl - (obsolete) solve the linear system Ax = b for a symmetric positive definite
tridiagonal matrix A and vectors b and x.
SUBROUTINE SPTSL( N, DIAG, OFFD, B)
INTEGER N
REAL DIAG(*), OFFD(*), B(*)
SUBROUTINE SPTSL_64( N, DIAG, OFFD, B)
INTEGER*8 N
REAL DIAG(*), OFFD(*), B(*)
#include <sunperf.h>
void sptsl(int n, float *diag, float *offd, float *b);
void sptsl_64(long n, float *diag, float *offd, float *b);
-
* 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.