STRSV/DTRSV/CTRSV/ZTRSV | Solve triangular system |
Example 1 Perform REAL*4 forward elimination using the
CHARACTER*1 UPLO,TRANS,DIAG
INTEGER*4 N,LDA,INCX
REAL*4 A(100,100),X(100)
UPLO = ’L’
TRANS = ’N’
DIAG = ’U’
N = 75
LDA = 100
INCX = 1
CALL STRSV (UPLO,TRANS,DIAG,N,A,LDA,X,INCX)
Example 2 Perform REAL*4 back substitution using the
INTEGER*4 | N,LDA | |
REAL*4 | A(100,100),X(100) | |
N = | 75 |
|
LDA | = 100 |
|
CALL STRSV (’UPPER’,’NONTRANS’,’NONUNIT’,N,A,LDA,X,1)
336HP MLIB User’s Guide