NAME

csttrs - computes the solution to a complex system of linear equations A * X = B


SYNOPSIS

  SUBROUTINE CSTTRS( N, NRHS, L, D, SUBL, B, LDB, IPIV, INFO)
  COMPLEX L(*), D(*), SUBL(*), B(LDB,*)
  INTEGER N, NRHS, LDB, INFO
  INTEGER IPIV(*)
  SUBROUTINE CSTTRS_64( N, NRHS, L, D, SUBL, B, LDB, IPIV, INFO)
  COMPLEX L(*), D(*), SUBL(*), B(LDB,*)
  INTEGER*8 N, NRHS, LDB, INFO
  INTEGER*8 IPIV(*)

F95 INTERFACE

  SUBROUTINE STTRS( [N], [NRHS], L, D, SUBL, B, [LDB], IPIV, [INFO])
  COMPLEX, DIMENSION(:) :: L, D, SUBL
  COMPLEX, DIMENSION(:,:) :: B
  INTEGER :: N, NRHS, LDB, INFO
  INTEGER, DIMENSION(:) :: IPIV
  SUBROUTINE STTRS_64( [N], [NRHS], L, D, SUBL, B, [LDB], IPIV, [INFO])
  COMPLEX, DIMENSION(:) :: L, D, SUBL
  COMPLEX, DIMENSION(:,:) :: B
  INTEGER(8) :: N, NRHS, LDB, INFO
  INTEGER(8), DIMENSION(:) :: IPIV

C INTERFACE

#include <sunperf.h>

void csttrs(int n, int nrhs, complex *l, complex *d, complex *subl, complex *b, int ldb, int *ipiv, int *info);

void csttrs_64(long n, long nrhs, complex *l, complex *d, complex *subl, complex *b, long ldb, long *ipiv, long *info);


PURPOSE

csttrs computes the solution to a complex system of linear equations A * X = B, where A is an N-by-N symmetric tridiagonal matrix and X and B are N-by-NRHS matrices.


ARGUMENTS