zstsv - compute the solution to a complex system of linear equations A * X = B where A is a Hermitian tridiagonal matrix
SUBROUTINE ZSTSV( N, NRHS, L, D, SUBL, B, LDB, IPIV, INFO) DOUBLE COMPLEX L(*), D(*), SUBL(*), B(LDB,*) INTEGER N, NRHS, LDB, INFO INTEGER IPIV(*)
SUBROUTINE ZSTSV_64( N, NRHS, L, D, SUBL, B, LDB, IPIV, INFO) DOUBLE COMPLEX L(*), D(*), SUBL(*), B(LDB,*) INTEGER*8 N, NRHS, LDB, INFO INTEGER*8 IPIV(*)
SUBROUTINE STSV( [N], [NRHS], L, D, SUBL, B, [LDB], IPIV, [INFO]) COMPLEX(8), DIMENSION(:) :: L, D, SUBL COMPLEX(8), DIMENSION(:,:) :: B INTEGER :: N, NRHS, LDB, INFO INTEGER, DIMENSION(:) :: IPIV
SUBROUTINE STSV_64( [N], [NRHS], L, D, SUBL, B, [LDB], IPIV, [INFO]) COMPLEX(8), DIMENSION(:) :: L, D, SUBL COMPLEX(8), DIMENSION(:,:) :: B INTEGER(8) :: N, NRHS, LDB, INFO INTEGER(8), DIMENSION(:) :: IPIV
#include <sunperf.h>
void zstsv(int n, int nrhs, doublecomplex *l, doublecomplex *d, doublecomplex *subl, doublecomplex *b, int ldb, int *ipiv, int *info);
void zstsv_64(long n, long nrhs, doublecomplex *l, doublecomplex *d, doublecomplex *subl, doublecomplex *b, long ldb, long *ipiv, long *info);
zstsv computes the solution to a complex system of linear equations A * X = B where A is a Hermitian tridiagonal matrix.
COMPLEX array, dimension (N)
On entry, the n-1 subdiagonal elements of the tridiagonal matrix A. On exit, part of the factorization of A.
REAL array, dimension (N)
On entry, the n diagonal elements of the tridiagonal matrix A. On exit, the n diagonal elements of the diagonal matrix D from the factorization of A.
COMPLEX array, dimension (N)
On exit, part of the factorization of A.
INTEGER array, dimension (N)
On exit, the pivot indices of the factorization.
INTEGER
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value
> 0: if INFO = i, D(k,k) is exactly zero. The factorization has been completed, but the block diagonal matrix D is exactly singular and division by zero will occur if it is used to solve a system of equations.