NAME

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


SYNOPSIS

  SUBROUTINE CTPSV( UPLO, TRANSA, DIAG, N, A, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  COMPLEX A(*), Y(*)
  INTEGER N, INCY
  SUBROUTINE CTPSV_64( UPLO, TRANSA, DIAG, N, A, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  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, DIMENSION(:) :: A, Y
  INTEGER :: N, INCY
  SUBROUTINE TPSV_64( UPLO, [TRANSA], DIAG, [N], A, Y, [INCY])
  CHARACTER(LEN=1) :: UPLO, TRANSA, DIAG
  COMPLEX, DIMENSION(:) :: A, Y
  INTEGER(8) :: N, INCY

C INTERFACE

#include <sunperf.h>

void ctpsv(char uplo, char transa, char diag, int n, complex *a, complex *y, int incy);

void ctpsv_64(char uplo, char transa, char diag, long n, complex *a, complex *y, long incy);


PURPOSE

ctpsv 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