NAME

zsptrs - solve a system of linear equations A*X = B with a complex symmetric matrix A stored in packed format using the factorization A = U*D*U**T or A = L*D*L**T computed by CSPTRF


SYNOPSIS

  SUBROUTINE ZSPTRS( UPLO, N, NRHS, A, IPIVOT, B, LDB, INFO)
  CHARACTER * 1 UPLO
  DOUBLE COMPLEX A(*), B(LDB,*)
  INTEGER N, NRHS, LDB, INFO
  INTEGER IPIVOT(*)
  SUBROUTINE ZSPTRS_64( UPLO, N, NRHS, A, IPIVOT, B, LDB, INFO)
  CHARACTER * 1 UPLO
  DOUBLE COMPLEX A(*), B(LDB,*)
  INTEGER*8 N, NRHS, LDB, INFO
  INTEGER*8 IPIVOT(*)

F95 INTERFACE

  SUBROUTINE SPTRS( UPLO, N, NRHS, A, IPIVOT, B, [LDB], [INFO])
  CHARACTER(LEN=1) :: UPLO
  COMPLEX(8), DIMENSION(:) :: A
  COMPLEX(8), DIMENSION(:,:) :: B
  INTEGER :: N, NRHS, LDB, INFO
  INTEGER, DIMENSION(:) :: IPIVOT
  SUBROUTINE SPTRS_64( UPLO, N, NRHS, A, IPIVOT, B, [LDB], [INFO])
  CHARACTER(LEN=1) :: UPLO
  COMPLEX(8), DIMENSION(:) :: A
  COMPLEX(8), DIMENSION(:,:) :: B
  INTEGER(8) :: N, NRHS, LDB, INFO
  INTEGER(8), DIMENSION(:) :: IPIVOT

C INTERFACE

#include <sunperf.h>

void zsptrs(char uplo, int n, int nrhs, doublecomplex *a, int *ipivot, doublecomplex *b, int ldb, int *info);

void zsptrs_64(char uplo, long n, long nrhs, doublecomplex *a, long *ipivot, doublecomplex *b, long ldb, long *info);


PURPOSE

zsptrs solves a system of linear equations A*X = B with a complex symmetric matrix A stored in packed format using the factorization A = U*D*U**T or A = L*D*L**T computed by CSPTRF.


ARGUMENTS