*
* Compute (U \P' * B) -> B [ (U \P' * B) ]
*
- CALL CTRSM('L','U','N','U',N,NRHS,ONE,A,N,B,N)
+ CALL CTRSM('L','U','N','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* Compute D \ B -> B [ D \ (U \P' * B) ]
*
I=N
DO WHILE ( I .GE. 1 )
IF( IPIV(I) .GT. 0 ) THEN
- CALL CSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), N )
+ CALL CSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), LDB )
ELSEIF ( I .GT. 1) THEN
IF ( IPIV(I-1) .EQ. IPIV(I) ) THEN
AKM1K = WORK(I)
*
* Compute (U' \ B) -> B [ U' \ (D \ (U \P' * B) ) ]
*
- CALL CTRSM('L','U','T','U',N,NRHS,ONE,A,N,B,N)
+ CALL CTRSM('L','U','T','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* P * B [ P * (U' \ (D \ (U \P' * B) )) ]
*
*
* Compute (L \P' * B) -> B [ (L \P' * B) ]
*
- CALL CTRSM('L','L','N','U',N,NRHS,ONE,A,N,B,N)
+ CALL CTRSM('L','L','N','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* Compute D \ B -> B [ D \ (L \P' * B) ]
*
I=1
DO WHILE ( I .LE. N )
IF( IPIV(I) .GT. 0 ) THEN
- CALL CSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), N )
+ CALL CSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), LDB )
ELSE
AKM1K = WORK(I)
AKM1 = A( I, I ) / AKM1K
*
* Compute (L' \ B) -> B [ L' \ (D \ (L \P' * B) ) ]
*
- CALL CTRSM('L','L','T','U',N,NRHS,ONE,A,N,B,N)
+ CALL CTRSM('L','L','T','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* P * B [ P * (L' \ (D \ (L \P' * B) )) ]
*
*
* Compute (U \P' * B) -> B [ (U \P' * B) ]
*
- CALL DTRSM('L','U','N','U',N,NRHS,ONE,A,N,B,N)
+ CALL DTRSM('L','U','N','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* Compute D \ B -> B [ D \ (U \P' * B) ]
*
I=N
DO WHILE ( I .GE. 1 )
IF( IPIV(I) .GT. 0 ) THEN
- CALL DSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), N )
+ CALL DSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), LDB )
ELSEIF ( I .GT. 1) THEN
IF ( IPIV(I-1) .EQ. IPIV(I) ) THEN
AKM1K = WORK(I)
*
* Compute (U' \ B) -> B [ U' \ (D \ (U \P' * B) ) ]
*
- CALL DTRSM('L','U','T','U',N,NRHS,ONE,A,N,B,N)
+ CALL DTRSM('L','U','T','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* P * B [ P * (U' \ (D \ (U \P' * B) )) ]
*
*
* Compute (L \P' * B) -> B [ (L \P' * B) ]
*
- CALL DTRSM('L','L','N','U',N,NRHS,ONE,A,N,B,N)
+ CALL DTRSM('L','L','N','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* Compute D \ B -> B [ D \ (L \P' * B) ]
*
I=1
DO WHILE ( I .LE. N )
IF( IPIV(I) .GT. 0 ) THEN
- CALL DSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), N )
+ CALL DSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), LDB )
ELSE
AKM1K = WORK(I)
AKM1 = A( I, I ) / AKM1K
*
* Compute (L' \ B) -> B [ L' \ (D \ (L \P' * B) ) ]
*
- CALL DTRSM('L','L','T','U',N,NRHS,ONE,A,N,B,N)
+ CALL DTRSM('L','L','T','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* P * B [ P * (L' \ (D \ (L \P' * B) )) ]
*
*
* Compute (U \P' * B) -> B [ (U \P' * B) ]
*
- CALL STRSM('L','U','N','U',N,NRHS,ONE,A,N,B,N)
+ CALL STRSM('L','U','N','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* Compute D \ B -> B [ D \ (U \P' * B) ]
*
I=N
DO WHILE ( I .GE. 1 )
IF( IPIV(I) .GT. 0 ) THEN
- CALL SSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), N )
+ CALL SSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), LDB )
ELSEIF ( I .GT. 1) THEN
IF ( IPIV(I-1) .EQ. IPIV(I) ) THEN
AKM1K = WORK(I)
*
* Compute (U' \ B) -> B [ U' \ (D \ (U \P' * B) ) ]
*
- CALL STRSM('L','U','T','U',N,NRHS,ONE,A,N,B,N)
+ CALL STRSM('L','U','T','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* P * B [ P * (U' \ (D \ (U \P' * B) )) ]
*
*
* Compute (L \P' * B) -> B [ (L \P' * B) ]
*
- CALL STRSM('L','L','N','U',N,NRHS,ONE,A,N,B,N)
+ CALL STRSM('L','L','N','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* Compute D \ B -> B [ D \ (L \P' * B) ]
*
I=1
DO WHILE ( I .LE. N )
IF( IPIV(I) .GT. 0 ) THEN
- CALL SSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), N )
+ CALL SSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), LDB )
ELSE
AKM1K = WORK(I)
AKM1 = A( I, I ) / AKM1K
*
* Compute (L' \ B) -> B [ L' \ (D \ (L \P' * B) ) ]
*
- CALL STRSM('L','L','T','U',N,NRHS,ONE,A,N,B,N)
+ CALL STRSM('L','L','T','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* P * B [ P * (L' \ (D \ (L \P' * B) )) ]
*
*
* Compute (U \P' * B) -> B [ (U \P' * B) ]
*
- CALL ZTRSM('L','U','N','U',N,NRHS,ONE,A,N,B,N)
+ CALL ZTRSM('L','U','N','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* Compute D \ B -> B [ D \ (U \P' * B) ]
*
I=N
DO WHILE ( I .GE. 1 )
IF( IPIV(I) .GT. 0 ) THEN
- CALL ZSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), N )
+ CALL ZSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), LDB )
ELSEIF ( I .GT. 1) THEN
IF ( IPIV(I-1) .EQ. IPIV(I) ) THEN
AKM1K = WORK(I)
*
* Compute (U' \ B) -> B [ U' \ (D \ (U \P' * B) ) ]
*
- CALL ZTRSM('L','U','T','U',N,NRHS,ONE,A,N,B,N)
+ CALL ZTRSM('L','U','T','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* P * B [ P * (U' \ (D \ (U \P' * B) )) ]
*
*
* Compute (L \P' * B) -> B [ (L \P' * B) ]
*
- CALL ZTRSM('L','L','N','U',N,NRHS,ONE,A,N,B,N)
+ CALL ZTRSM('L','L','N','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* Compute D \ B -> B [ D \ (L \P' * B) ]
*
I=1
DO WHILE ( I .LE. N )
IF( IPIV(I) .GT. 0 ) THEN
- CALL ZSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), N )
+ CALL ZSCAL( NRHS, ONE / A( I, I ), B( I, 1 ), LDB )
ELSE
AKM1K = WORK(I)
AKM1 = A( I, I ) / AKM1K
*
* Compute (L' \ B) -> B [ L' \ (D \ (L \P' * B) ) ]
*
- CALL ZTRSM('L','L','T','U',N,NRHS,ONE,A,N,B,N)
+ CALL ZTRSM('L','L','T','U',N,NRHS,ONE,A,LDA,B,LDB)
*
* P * B [ P * (L' \ (D \ (L \P' * B) )) ]
*