00001 SUBROUTINE ZCHKBD( NSIZES, MVAL, NVAL, NTYPES, DOTYPE, NRHS,
00002 $ ISEED, THRESH, A, LDA, BD, BE, S1, S2, X, LDX,
00003 $ Y, Z, Q, LDQ, PT, LDPT, U, VT, WORK, LWORK,
00004 $ RWORK, NOUT, INFO )
00005
00006
00007
00008
00009
00010
00011 INTEGER INFO, LDA, LDPT, LDQ, LDX, LWORK, NOUT, NRHS,
00012 $ NSIZES, NTYPES
00013 DOUBLE PRECISION THRESH
00014
00015
00016 LOGICAL DOTYPE( * )
00017 INTEGER ISEED( 4 ), MVAL( * ), NVAL( * )
00018 DOUBLE PRECISION BD( * ), BE( * ), RWORK( * ), S1( * ), S2( * )
00019 COMPLEX*16 A( LDA, * ), PT( LDPT, * ), Q( LDQ, * ),
00020 $ U( LDPT, * ), VT( LDPT, * ), WORK( * ),
00021 $ X( LDX, * ), Y( LDX, * ), Z( LDX, * )
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199
00200
00201
00202
00203
00204
00205
00206
00207
00208
00209
00210
00211
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224
00225
00226
00227
00228
00229
00230
00231
00232
00233
00234
00235
00236
00237
00238
00239
00240
00241
00242
00243
00244
00245
00246
00247
00248
00249
00250
00251
00252
00253
00254
00255
00256
00257
00258
00259
00260
00261
00262
00263
00264
00265
00266
00267
00268
00269
00270
00271
00272
00273
00274
00275
00276
00277
00278
00279
00280
00281
00282
00283
00284
00285
00286
00287
00288
00289
00290
00291
00292
00293
00294
00295
00296
00297
00298
00299
00300
00301
00302
00303
00304
00305
00306 DOUBLE PRECISION ZERO, ONE, TWO, HALF
00307 PARAMETER ( ZERO = 0.0D0, ONE = 1.0D0, TWO = 2.0D0,
00308 $ HALF = 0.5D0 )
00309 COMPLEX*16 CZERO, CONE
00310 PARAMETER ( CZERO = ( 0.0D+0, 0.0D+0 ),
00311 $ CONE = ( 1.0D+0, 0.0D+0 ) )
00312 INTEGER MAXTYP
00313 PARAMETER ( MAXTYP = 16 )
00314
00315
00316 LOGICAL BADMM, BADNN, BIDIAG
00317 CHARACTER UPLO
00318 CHARACTER*3 PATH
00319 INTEGER I, IINFO, IMODE, ITYPE, J, JCOL, JSIZE, JTYPE,
00320 $ LOG2UI, M, MINWRK, MMAX, MNMAX, MNMIN, MQ,
00321 $ MTYPES, N, NFAIL, NMAX, NTEST
00322 DOUBLE PRECISION AMNINV, ANORM, COND, OVFL, RTOVFL, RTUNFL,
00323 $ TEMP1, TEMP2, ULP, ULPINV, UNFL
00324
00325
00326 INTEGER IOLDSD( 4 ), IWORK( 1 ), KMAGN( MAXTYP ),
00327 $ KMODE( MAXTYP ), KTYPE( MAXTYP )
00328 DOUBLE PRECISION DUMMA( 1 ), RESULT( 14 )
00329
00330
00331 DOUBLE PRECISION DLAMCH, DLARND
00332 EXTERNAL DLAMCH, DLARND
00333
00334
00335 EXTERNAL ALASUM, DCOPY, DLABAD, DLAHD2, DSVDCH, XERBLA,
00336 $ ZBDSQR, ZBDT01, ZBDT02, ZBDT03, ZGEBRD, ZGEMM,
00337 $ ZLACPY, ZLASET, ZLATMR, ZLATMS, ZUNGBR, ZUNT01
00338
00339
00340 INTRINSIC ABS, EXP, INT, LOG, MAX, MIN, SQRT
00341
00342
00343 LOGICAL LERR, OK
00344 CHARACTER*32 SRNAMT
00345 INTEGER INFOT, NUNIT
00346
00347
00348 COMMON / INFOC / INFOT, NUNIT, OK, LERR
00349 COMMON / SRNAMC / SRNAMT
00350
00351
00352 DATA KTYPE / 1, 2, 5*4, 5*6, 3*9, 10 /
00353 DATA KMAGN / 2*1, 3*1, 2, 3, 3*1, 2, 3, 1, 2, 3, 0 /
00354 DATA KMODE / 2*0, 4, 3, 1, 4, 4, 4, 3, 1, 4, 4, 0,
00355 $ 0, 0, 0 /
00356
00357
00358
00359
00360
00361 INFO = 0
00362
00363 BADMM = .FALSE.
00364 BADNN = .FALSE.
00365 MMAX = 1
00366 NMAX = 1
00367 MNMAX = 1
00368 MINWRK = 1
00369 DO 10 J = 1, NSIZES
00370 MMAX = MAX( MMAX, MVAL( J ) )
00371 IF( MVAL( J ).LT.0 )
00372 $ BADMM = .TRUE.
00373 NMAX = MAX( NMAX, NVAL( J ) )
00374 IF( NVAL( J ).LT.0 )
00375 $ BADNN = .TRUE.
00376 MNMAX = MAX( MNMAX, MIN( MVAL( J ), NVAL( J ) ) )
00377 MINWRK = MAX( MINWRK, 3*( MVAL( J )+NVAL( J ) ),
00378 $ MVAL( J )*( MVAL( J )+MAX( MVAL( J ), NVAL( J ),
00379 $ NRHS )+1 )+NVAL( J )*MIN( NVAL( J ), MVAL( J ) ) )
00380 10 CONTINUE
00381
00382
00383
00384 IF( NSIZES.LT.0 ) THEN
00385 INFO = -1
00386 ELSE IF( BADMM ) THEN
00387 INFO = -2
00388 ELSE IF( BADNN ) THEN
00389 INFO = -3
00390 ELSE IF( NTYPES.LT.0 ) THEN
00391 INFO = -4
00392 ELSE IF( NRHS.LT.0 ) THEN
00393 INFO = -6
00394 ELSE IF( LDA.LT.MMAX ) THEN
00395 INFO = -11
00396 ELSE IF( LDX.LT.MMAX ) THEN
00397 INFO = -17
00398 ELSE IF( LDQ.LT.MMAX ) THEN
00399 INFO = -21
00400 ELSE IF( LDPT.LT.MNMAX ) THEN
00401 INFO = -23
00402 ELSE IF( MINWRK.GT.LWORK ) THEN
00403 INFO = -27
00404 END IF
00405
00406 IF( INFO.NE.0 ) THEN
00407 CALL XERBLA( 'ZCHKBD', -INFO )
00408 RETURN
00409 END IF
00410
00411
00412
00413 PATH( 1: 1 ) = 'Zomplex precision'
00414 PATH( 2: 3 ) = 'BD'
00415 NFAIL = 0
00416 NTEST = 0
00417 UNFL = DLAMCH( 'Safe minimum' )
00418 OVFL = DLAMCH( 'Overflow' )
00419 CALL DLABAD( UNFL, OVFL )
00420 ULP = DLAMCH( 'Precision' )
00421 ULPINV = ONE / ULP
00422 LOG2UI = INT( LOG( ULPINV ) / LOG( TWO ) )
00423 RTUNFL = SQRT( UNFL )
00424 RTOVFL = SQRT( OVFL )
00425 INFOT = 0
00426
00427
00428
00429 DO 180 JSIZE = 1, NSIZES
00430 M = MVAL( JSIZE )
00431 N = NVAL( JSIZE )
00432 MNMIN = MIN( M, N )
00433 AMNINV = ONE / MAX( M, N, 1 )
00434
00435 IF( NSIZES.NE.1 ) THEN
00436 MTYPES = MIN( MAXTYP, NTYPES )
00437 ELSE
00438 MTYPES = MIN( MAXTYP+1, NTYPES )
00439 END IF
00440
00441 DO 170 JTYPE = 1, MTYPES
00442 IF( .NOT.DOTYPE( JTYPE ) )
00443 $ GO TO 170
00444
00445 DO 20 J = 1, 4
00446 IOLDSD( J ) = ISEED( J )
00447 20 CONTINUE
00448
00449 DO 30 J = 1, 14
00450 RESULT( J ) = -ONE
00451 30 CONTINUE
00452
00453 UPLO = ' '
00454
00455
00456
00457
00458
00459
00460
00461
00462
00463
00464
00465
00466
00467
00468
00469
00470
00471 IF( MTYPES.GT.MAXTYP )
00472 $ GO TO 100
00473
00474 ITYPE = KTYPE( JTYPE )
00475 IMODE = KMODE( JTYPE )
00476
00477
00478
00479 GO TO ( 40, 50, 60 )KMAGN( JTYPE )
00480
00481 40 CONTINUE
00482 ANORM = ONE
00483 GO TO 70
00484
00485 50 CONTINUE
00486 ANORM = ( RTOVFL*ULP )*AMNINV
00487 GO TO 70
00488
00489 60 CONTINUE
00490 ANORM = RTUNFL*MAX( M, N )*ULPINV
00491 GO TO 70
00492
00493 70 CONTINUE
00494
00495 CALL ZLASET( 'Full', LDA, N, CZERO, CZERO, A, LDA )
00496 IINFO = 0
00497 COND = ULPINV
00498
00499 BIDIAG = .FALSE.
00500 IF( ITYPE.EQ.1 ) THEN
00501
00502
00503
00504 IINFO = 0
00505
00506 ELSE IF( ITYPE.EQ.2 ) THEN
00507
00508
00509
00510 DO 80 JCOL = 1, MNMIN
00511 A( JCOL, JCOL ) = ANORM
00512 80 CONTINUE
00513
00514 ELSE IF( ITYPE.EQ.4 ) THEN
00515
00516
00517
00518 CALL ZLATMS( MNMIN, MNMIN, 'S', ISEED, 'N', RWORK, IMODE,
00519 $ COND, ANORM, 0, 0, 'N', A, LDA, WORK,
00520 $ IINFO )
00521
00522 ELSE IF( ITYPE.EQ.5 ) THEN
00523
00524
00525
00526 CALL ZLATMS( MNMIN, MNMIN, 'S', ISEED, 'S', RWORK, IMODE,
00527 $ COND, ANORM, M, N, 'N', A, LDA, WORK,
00528 $ IINFO )
00529
00530 ELSE IF( ITYPE.EQ.6 ) THEN
00531
00532
00533
00534 CALL ZLATMS( M, N, 'S', ISEED, 'N', RWORK, IMODE, COND,
00535 $ ANORM, M, N, 'N', A, LDA, WORK, IINFO )
00536
00537 ELSE IF( ITYPE.EQ.7 ) THEN
00538
00539
00540
00541 CALL ZLATMR( MNMIN, MNMIN, 'S', ISEED, 'N', WORK, 6, ONE,
00542 $ CONE, 'T', 'N', WORK( MNMIN+1 ), 1, ONE,
00543 $ WORK( 2*MNMIN+1 ), 1, ONE, 'N', IWORK, 0, 0,
00544 $ ZERO, ANORM, 'NO', A, LDA, IWORK, IINFO )
00545
00546 ELSE IF( ITYPE.EQ.8 ) THEN
00547
00548
00549
00550 CALL ZLATMR( MNMIN, MNMIN, 'S', ISEED, 'S', WORK, 6, ONE,
00551 $ CONE, 'T', 'N', WORK( MNMIN+1 ), 1, ONE,
00552 $ WORK( M+MNMIN+1 ), 1, ONE, 'N', IWORK, M, N,
00553 $ ZERO, ANORM, 'NO', A, LDA, IWORK, IINFO )
00554
00555 ELSE IF( ITYPE.EQ.9 ) THEN
00556
00557
00558
00559 CALL ZLATMR( M, N, 'S', ISEED, 'N', WORK, 6, ONE, CONE,
00560 $ 'T', 'N', WORK( MNMIN+1 ), 1, ONE,
00561 $ WORK( M+MNMIN+1 ), 1, ONE, 'N', IWORK, M, N,
00562 $ ZERO, ANORM, 'NO', A, LDA, IWORK, IINFO )
00563
00564 ELSE IF( ITYPE.EQ.10 ) THEN
00565
00566
00567
00568 TEMP1 = -TWO*LOG( ULP )
00569 DO 90 J = 1, MNMIN
00570 BD( J ) = EXP( TEMP1*DLARND( 2, ISEED ) )
00571 IF( J.LT.MNMIN )
00572 $ BE( J ) = EXP( TEMP1*DLARND( 2, ISEED ) )
00573 90 CONTINUE
00574
00575 IINFO = 0
00576 BIDIAG = .TRUE.
00577 IF( M.GE.N ) THEN
00578 UPLO = 'U'
00579 ELSE
00580 UPLO = 'L'
00581 END IF
00582 ELSE
00583 IINFO = 1
00584 END IF
00585
00586 IF( IINFO.EQ.0 ) THEN
00587
00588
00589
00590 IF( BIDIAG ) THEN
00591 CALL ZLATMR( MNMIN, NRHS, 'S', ISEED, 'N', WORK, 6,
00592 $ ONE, CONE, 'T', 'N', WORK( MNMIN+1 ), 1,
00593 $ ONE, WORK( 2*MNMIN+1 ), 1, ONE, 'N',
00594 $ IWORK, MNMIN, NRHS, ZERO, ONE, 'NO', Y,
00595 $ LDX, IWORK, IINFO )
00596 ELSE
00597 CALL ZLATMR( M, NRHS, 'S', ISEED, 'N', WORK, 6, ONE,
00598 $ CONE, 'T', 'N', WORK( M+1 ), 1, ONE,
00599 $ WORK( 2*M+1 ), 1, ONE, 'N', IWORK, M,
00600 $ NRHS, ZERO, ONE, 'NO', X, LDX, IWORK,
00601 $ IINFO )
00602 END IF
00603 END IF
00604
00605
00606
00607 IF( IINFO.NE.0 ) THEN
00608 WRITE( NOUT, FMT = 9998 )'Generator', IINFO, M, N,
00609 $ JTYPE, IOLDSD
00610 INFO = ABS( IINFO )
00611 RETURN
00612 END IF
00613
00614 100 CONTINUE
00615
00616
00617
00618 IF( .NOT.BIDIAG ) THEN
00619
00620
00621
00622
00623 CALL ZLACPY( ' ', M, N, A, LDA, Q, LDQ )
00624 CALL ZGEBRD( M, N, Q, LDQ, BD, BE, WORK, WORK( MNMIN+1 ),
00625 $ WORK( 2*MNMIN+1 ), LWORK-2*MNMIN, IINFO )
00626
00627
00628
00629 IF( IINFO.NE.0 ) THEN
00630 WRITE( NOUT, FMT = 9998 )'ZGEBRD', IINFO, M, N,
00631 $ JTYPE, IOLDSD
00632 INFO = ABS( IINFO )
00633 RETURN
00634 END IF
00635
00636 CALL ZLACPY( ' ', M, N, Q, LDQ, PT, LDPT )
00637 IF( M.GE.N ) THEN
00638 UPLO = 'U'
00639 ELSE
00640 UPLO = 'L'
00641 END IF
00642
00643
00644
00645 MQ = M
00646 IF( NRHS.LE.0 )
00647 $ MQ = MNMIN
00648 CALL ZUNGBR( 'Q', M, MQ, N, Q, LDQ, WORK,
00649 $ WORK( 2*MNMIN+1 ), LWORK-2*MNMIN, IINFO )
00650
00651
00652
00653 IF( IINFO.NE.0 ) THEN
00654 WRITE( NOUT, FMT = 9998 )'ZUNGBR(Q)', IINFO, M, N,
00655 $ JTYPE, IOLDSD
00656 INFO = ABS( IINFO )
00657 RETURN
00658 END IF
00659
00660
00661
00662 CALL ZUNGBR( 'P', MNMIN, N, M, PT, LDPT, WORK( MNMIN+1 ),
00663 $ WORK( 2*MNMIN+1 ), LWORK-2*MNMIN, IINFO )
00664
00665
00666
00667 IF( IINFO.NE.0 ) THEN
00668 WRITE( NOUT, FMT = 9998 )'ZUNGBR(P)', IINFO, M, N,
00669 $ JTYPE, IOLDSD
00670 INFO = ABS( IINFO )
00671 RETURN
00672 END IF
00673
00674
00675
00676 CALL ZGEMM( 'Conjugate transpose', 'No transpose', M,
00677 $ NRHS, M, CONE, Q, LDQ, X, LDX, CZERO, Y,
00678 $ LDX )
00679
00680
00681
00682
00683
00684 CALL ZBDT01( M, N, 1, A, LDA, Q, LDQ, BD, BE, PT, LDPT,
00685 $ WORK, RWORK, RESULT( 1 ) )
00686 CALL ZUNT01( 'Columns', M, MQ, Q, LDQ, WORK, LWORK,
00687 $ RWORK, RESULT( 2 ) )
00688 CALL ZUNT01( 'Rows', MNMIN, N, PT, LDPT, WORK, LWORK,
00689 $ RWORK, RESULT( 3 ) )
00690 END IF
00691
00692
00693
00694
00695 CALL DCOPY( MNMIN, BD, 1, S1, 1 )
00696 IF( MNMIN.GT.0 )
00697 $ CALL DCOPY( MNMIN-1, BE, 1, RWORK, 1 )
00698 CALL ZLACPY( ' ', M, NRHS, Y, LDX, Z, LDX )
00699 CALL ZLASET( 'Full', MNMIN, MNMIN, CZERO, CONE, U, LDPT )
00700 CALL ZLASET( 'Full', MNMIN, MNMIN, CZERO, CONE, VT, LDPT )
00701
00702 CALL ZBDSQR( UPLO, MNMIN, MNMIN, MNMIN, NRHS, S1, RWORK, VT,
00703 $ LDPT, U, LDPT, Z, LDX, RWORK( MNMIN+1 ),
00704 $ IINFO )
00705
00706
00707
00708 IF( IINFO.NE.0 ) THEN
00709 WRITE( NOUT, FMT = 9998 )'ZBDSQR(vects)', IINFO, M, N,
00710 $ JTYPE, IOLDSD
00711 INFO = ABS( IINFO )
00712 IF( IINFO.LT.0 ) THEN
00713 RETURN
00714 ELSE
00715 RESULT( 4 ) = ULPINV
00716 GO TO 150
00717 END IF
00718 END IF
00719
00720
00721
00722
00723 CALL DCOPY( MNMIN, BD, 1, S2, 1 )
00724 IF( MNMIN.GT.0 )
00725 $ CALL DCOPY( MNMIN-1, BE, 1, RWORK, 1 )
00726
00727 CALL ZBDSQR( UPLO, MNMIN, 0, 0, 0, S2, RWORK, VT, LDPT, U,
00728 $ LDPT, Z, LDX, RWORK( MNMIN+1 ), IINFO )
00729
00730
00731
00732 IF( IINFO.NE.0 ) THEN
00733 WRITE( NOUT, FMT = 9998 )'ZBDSQR(values)', IINFO, M, N,
00734 $ JTYPE, IOLDSD
00735 INFO = ABS( IINFO )
00736 IF( IINFO.LT.0 ) THEN
00737 RETURN
00738 ELSE
00739 RESULT( 9 ) = ULPINV
00740 GO TO 150
00741 END IF
00742 END IF
00743
00744
00745
00746
00747
00748
00749 CALL ZBDT03( UPLO, MNMIN, 1, BD, BE, U, LDPT, S1, VT, LDPT,
00750 $ WORK, RESULT( 4 ) )
00751 CALL ZBDT02( MNMIN, NRHS, Y, LDX, Z, LDX, U, LDPT, WORK,
00752 $ RWORK, RESULT( 5 ) )
00753 CALL ZUNT01( 'Columns', MNMIN, MNMIN, U, LDPT, WORK, LWORK,
00754 $ RWORK, RESULT( 6 ) )
00755 CALL ZUNT01( 'Rows', MNMIN, MNMIN, VT, LDPT, WORK, LWORK,
00756 $ RWORK, RESULT( 7 ) )
00757
00758
00759
00760
00761 RESULT( 8 ) = ZERO
00762 DO 110 I = 1, MNMIN - 1
00763 IF( S1( I ).LT.S1( I+1 ) )
00764 $ RESULT( 8 ) = ULPINV
00765 IF( S1( I ).LT.ZERO )
00766 $ RESULT( 8 ) = ULPINV
00767 110 CONTINUE
00768 IF( MNMIN.GE.1 ) THEN
00769 IF( S1( MNMIN ).LT.ZERO )
00770 $ RESULT( 8 ) = ULPINV
00771 END IF
00772
00773
00774
00775 TEMP2 = ZERO
00776
00777 DO 120 J = 1, MNMIN
00778 TEMP1 = ABS( S1( J )-S2( J ) ) /
00779 $ MAX( SQRT( UNFL )*MAX( S1( 1 ), ONE ),
00780 $ ULP*MAX( ABS( S1( J ) ), ABS( S2( J ) ) ) )
00781 TEMP2 = MAX( TEMP1, TEMP2 )
00782 120 CONTINUE
00783
00784 RESULT( 9 ) = TEMP2
00785
00786
00787
00788
00789 TEMP1 = THRESH*( HALF-ULP )
00790
00791 DO 130 J = 0, LOG2UI
00792 CALL DSVDCH( MNMIN, BD, BE, S1, TEMP1, IINFO )
00793 IF( IINFO.EQ.0 )
00794 $ GO TO 140
00795 TEMP1 = TEMP1*TWO
00796 130 CONTINUE
00797
00798 140 CONTINUE
00799 RESULT( 10 ) = TEMP1
00800
00801
00802
00803
00804 IF( .NOT.BIDIAG ) THEN
00805 CALL DCOPY( MNMIN, BD, 1, S2, 1 )
00806 IF( MNMIN.GT.0 )
00807 $ CALL DCOPY( MNMIN-1, BE, 1, RWORK, 1 )
00808
00809 CALL ZBDSQR( UPLO, MNMIN, N, M, NRHS, S2, RWORK, PT,
00810 $ LDPT, Q, LDQ, Y, LDX, RWORK( MNMIN+1 ),
00811 $ IINFO )
00812
00813
00814
00815
00816
00817
00818 CALL ZBDT01( M, N, 0, A, LDA, Q, LDQ, S2, DUMMA, PT,
00819 $ LDPT, WORK, RWORK, RESULT( 11 ) )
00820 CALL ZBDT02( M, NRHS, X, LDX, Y, LDX, Q, LDQ, WORK,
00821 $ RWORK, RESULT( 12 ) )
00822 CALL ZUNT01( 'Columns', M, MQ, Q, LDQ, WORK, LWORK,
00823 $ RWORK, RESULT( 13 ) )
00824 CALL ZUNT01( 'Rows', MNMIN, N, PT, LDPT, WORK, LWORK,
00825 $ RWORK, RESULT( 14 ) )
00826 END IF
00827
00828
00829
00830 150 CONTINUE
00831 DO 160 J = 1, 14
00832 IF( RESULT( J ).GE.THRESH ) THEN
00833 IF( NFAIL.EQ.0 )
00834 $ CALL DLAHD2( NOUT, PATH )
00835 WRITE( NOUT, FMT = 9999 )M, N, JTYPE, IOLDSD, J,
00836 $ RESULT( J )
00837 NFAIL = NFAIL + 1
00838 END IF
00839 160 CONTINUE
00840 IF( .NOT.BIDIAG ) THEN
00841 NTEST = NTEST + 14
00842 ELSE
00843 NTEST = NTEST + 5
00844 END IF
00845
00846 170 CONTINUE
00847 180 CONTINUE
00848
00849
00850
00851 CALL ALASUM( PATH, NOUT, NFAIL, NTEST, 0 )
00852
00853 RETURN
00854
00855
00856
00857 9999 FORMAT( ' M=', I5, ', N=', I5, ', type ', I2, ', seed=',
00858 $ 4( I4, ',' ), ' test(', I2, ')=', G11.4 )
00859 9998 FORMAT( ' ZCHKBD: ', A, ' returned INFO=', I6, '.', / 9X, 'M=',
00860 $ I6, ', N=', I6, ', JTYPE=', I6, ', ISEED=(', 3( I5, ',' ),
00861 $ I5, ')' )
00862
00863 END