LAPACK 3.12.1
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ lzeres()

logical function lzeres ( character*2 type,
character*1 uplo,
integer m,
integer n,
complex*16, dimension( lda, * ) aa,
complex*16, dimension( lda, * ) as,
integer lda )

Definition at line 3485 of file zblat3.f.

3486*
3487* Tests if selected elements in two arrays are equal.
3488*
3489* TYPE is 'GE' or 'HE' or 'SY'.
3490*
3491* Auxiliary routine for test program for Level 3 Blas.
3492*
3493* -- Written on 8-February-1989.
3494* Jack Dongarra, Argonne National Laboratory.
3495* Iain Duff, AERE Harwell.
3496* Jeremy Du Croz, Numerical Algorithms Group Ltd.
3497* Sven Hammarling, Numerical Algorithms Group Ltd.
3498*
3499* .. Scalar Arguments ..
3500 INTEGER LDA, M, N
3501 CHARACTER*1 UPLO
3502 CHARACTER*2 TYPE
3503* .. Array Arguments ..
3504 COMPLEX*16 AA( LDA, * ), AS( LDA, * )
3505* .. Local Scalars ..
3506 INTEGER I, IBEG, IEND, J
3507 LOGICAL UPPER
3508* .. Executable Statements ..
3509 upper = uplo.EQ.'U'
3510 IF( type.EQ.'GE' )THEN
3511 DO 20 j = 1, n
3512 DO 10 i = m + 1, lda
3513 IF( aa( i, j ).NE.as( i, j ) )
3514 $ GO TO 70
3515 10 CONTINUE
3516 20 CONTINUE
3517 ELSE IF( type.EQ.'HE'.OR.type.EQ.'SY' )THEN
3518 DO 50 j = 1, n
3519 IF( upper )THEN
3520 ibeg = 1
3521 iend = j
3522 ELSE
3523 ibeg = j
3524 iend = n
3525 END IF
3526 DO 30 i = 1, ibeg - 1
3527 IF( aa( i, j ).NE.as( i, j ) )
3528 $ GO TO 70
3529 30 CONTINUE
3530 DO 40 i = iend + 1, lda
3531 IF( aa( i, j ).NE.as( i, j ) )
3532 $ GO TO 70
3533 40 CONTINUE
3534 50 CONTINUE
3535 END IF
3536*
3537 lzeres = .true.
3538 GO TO 80
3539 70 CONTINUE
3540 lzeres = .false.
3541 80 RETURN
3542*
3543* End of LZERES
3544*
logical function lzeres(type, uplo, m, n, aa, as, lda)
Definition zblat2.f:3105
Here is the call graph for this function: