NAME

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


SYNOPSIS

  SUBROUTINE CTRSV( UPLO, TRANSA, DIAG, N, A, LDA, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  COMPLEX A(LDA,*), Y(*)
  INTEGER N, LDA, INCY
  SUBROUTINE CTRSV_64( UPLO, TRANSA, DIAG, N, A, LDA, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  COMPLEX A(LDA,*), Y(*)
  INTEGER*8 N, LDA, INCY

F95 INTERFACE

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

C INTERFACE

#include <sunperf.h>

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

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


PURPOSE

ctrsv 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.

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


ARGUMENTS