NAME

ztpsv - solve one of the systems of equations A*x = b, or A'*x = b, or conjg( A' )*x = b


SYNOPSIS

  SUBROUTINE ZTPSV( UPLO, TRANSA, DIAG, N, A, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  DOUBLE COMPLEX A(*), Y(*)
  INTEGER N, INCY
  SUBROUTINE ZTPSV_64( UPLO, TRANSA, DIAG, N, A, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  DOUBLE COMPLEX A(*), Y(*)
  INTEGER*8 N, INCY

F95 INTERFACE

  SUBROUTINE TPSV( UPLO, [TRANSA], DIAG, [N], A, Y, [INCY])
  CHARACTER(LEN=1) :: UPLO, TRANSA, DIAG
  COMPLEX(8), DIMENSION(:) :: A, Y
  INTEGER :: N, INCY
  SUBROUTINE TPSV_64( UPLO, [TRANSA], DIAG, [N], A, Y, [INCY])
  CHARACTER(LEN=1) :: UPLO, TRANSA, DIAG
  COMPLEX(8), DIMENSION(:) :: A, Y
  INTEGER(8) :: N, INCY

C INTERFACE

#include <sunperf.h>

void ztpsv(char uplo, char transa, char diag, int n, doublecomplex *a, doublecomplex *y, int incy);

void ztpsv_64(char uplo, char transa, char diag, long n, doublecomplex *a, doublecomplex *y, long incy);


PURPOSE

ztpsv solves one of the systems of equations A*x = b, or A'*x = b, or conjg( A' )*x = b where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular matrix, supplied in packed form.

No test for singularity or near-singularity is included in this routine. Such tests must be performed before calling this routine.


ARGUMENTS