LAPACK  3.6.1
LAPACK: Linear Algebra PACKage
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 2658 of file c_zblat3.f.

2658 *
2659 * Tests if selected elements in two arrays are equal.
2660 *
2661 * TYPE is 'ge' or 'he' or 'sy'.
2662 *
2663 * Auxiliary routine for test program for Level 3 Blas.
2664 *
2665 * -- Written on 8-February-1989.
2666 * Jack Dongarra, Argonne National Laboratory.
2667 * Iain Duff, AERE Harwell.
2668 * Jeremy Du Croz, Numerical Algorithms Group Ltd.
2669 * Sven Hammarling, Numerical Algorithms Group Ltd.
2670 *
2671 * .. Scalar Arguments ..
2672  INTEGER lda, m, n
2673  CHARACTER*1 uplo
2674  CHARACTER*2 type
2675 * .. Array Arguments ..
2676  COMPLEX*16 aa( lda, * ), as( lda, * )
2677 * .. Local Scalars ..
2678  INTEGER i, ibeg, iend, j
2679  LOGICAL upper
2680 * .. Executable Statements ..
2681  upper = uplo.EQ.'U'
2682  IF( type.EQ.'ge' )THEN
2683  DO 20 j = 1, n
2684  DO 10 i = m + 1, lda
2685  IF( aa( i, j ).NE.as( i, j ) )
2686  $ GO TO 70
2687  10 CONTINUE
2688  20 CONTINUE
2689  ELSE IF( type.EQ.'he'.OR.type.EQ.'sy' )THEN
2690  DO 50 j = 1, n
2691  IF( upper )THEN
2692  ibeg = 1
2693  iend = j
2694  ELSE
2695  ibeg = j
2696  iend = n
2697  END IF
2698  DO 30 i = 1, ibeg - 1
2699  IF( aa( i, j ).NE.as( i, j ) )
2700  $ GO TO 70
2701  30 CONTINUE
2702  DO 40 i = iend + 1, lda
2703  IF( aa( i, j ).NE.as( i, j ) )
2704  $ GO TO 70
2705  40 CONTINUE
2706  50 CONTINUE
2707  END IF
2708 *
2709  60 CONTINUE
2710  lzeres = .true.
2711  GO TO 80
2712  70 CONTINUE
2713  lzeres = .false.
2714  80 RETURN
2715 *
2716 * End of LZERES.
2717 *
logical function lzeres(TYPE, UPLO, M, N, AA, AS, LDA)
Definition: zblat2.f:3080

Here is the call graph for this function: