NAME

dtrsv - solve one of the systems of equations A*x = b, or A'*x = b


SYNOPSIS

  SUBROUTINE DTRSV( UPLO, TRANSA, DIAG, N, A, LDA, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  INTEGER N, LDA, INCY
  DOUBLE PRECISION A(LDA,*), Y(*)
  SUBROUTINE DTRSV_64( UPLO, TRANSA, DIAG, N, A, LDA, Y, INCY)
  CHARACTER * 1 UPLO, TRANSA, DIAG
  INTEGER*8 N, LDA, INCY
  DOUBLE PRECISION A(LDA,*), Y(*)

F95 INTERFACE

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

C INTERFACE

#include <sunperf.h>

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

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


PURPOSE

dtrsv solves one of the systems of equations A*x = b, or 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