132 IF( .NOT.( sord .OR. corz ) )
135 IF(
lsamen( 2, p2,
'GE' ) )
THEN
139 WRITE( iounit, fmt = 9999 )path
140 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
141 WRITE( iounit, fmt = 9979 )
142 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
143 WRITE( iounit, fmt = 9962 )1
144 WRITE( iounit, fmt = 9961 )2
145 WRITE( iounit, fmt = 9960 )3
146 WRITE( iounit, fmt = 9959 )4
147 WRITE( iounit, fmt = 9958 )5
148 WRITE( iounit, fmt = 9957 )6
149 WRITE( iounit, fmt = 9956 )7
150 WRITE( iounit, fmt = 9955 )8
151 WRITE( iounit, fmt =
'( '' Messages:'' )' )
153 ELSE IF(
lsamen( 2, p2,
'GB' ) )
THEN
157 WRITE( iounit, fmt = 9998 )path
158 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
159 WRITE( iounit, fmt = 9978 )
160 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
161 WRITE( iounit, fmt = 9962 )1
162 WRITE( iounit, fmt = 9960 )2
163 WRITE( iounit, fmt = 9959 )3
164 WRITE( iounit, fmt = 9958 )4
165 WRITE( iounit, fmt = 9957 )5
166 WRITE( iounit, fmt = 9956 )6
167 WRITE( iounit, fmt = 9955 )7
168 WRITE( iounit, fmt =
'( '' Messages:'' )' )
170 ELSE IF(
lsamen( 2, p2,
'GT' ) )
THEN
174 WRITE( iounit, fmt = 9997 )path
175 WRITE( iounit, fmt = 9977 )
176 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
177 WRITE( iounit, fmt = 9962 )1
178 WRITE( iounit, fmt = 9960 )2
179 WRITE( iounit, fmt = 9959 )3
180 WRITE( iounit, fmt = 9958 )4
181 WRITE( iounit, fmt = 9957 )5
182 WRITE( iounit, fmt = 9956 )6
183 WRITE( iounit, fmt = 9955 )7
184 WRITE( iounit, fmt =
'( '' Messages:'' )' )
186 ELSE IF(
lsamen( 2, p2,
'PO' ) .OR.
lsamen( 2, p2,
'PP' ) )
THEN
196 IF(
lsame( c3,
'O' ) )
THEN
197 WRITE( iounit, fmt = 9996 )path, sym
199 WRITE( iounit, fmt = 9995 )path, sym
201 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
202 WRITE( iounit, fmt = 9975 )path
203 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
204 WRITE( iounit, fmt = 9954 )1
205 WRITE( iounit, fmt = 9961 )2
206 WRITE( iounit, fmt = 9960 )3
207 WRITE( iounit, fmt = 9959 )4
208 WRITE( iounit, fmt = 9958 )5
209 WRITE( iounit, fmt = 9957 )6
210 WRITE( iounit, fmt = 9956 )7
211 WRITE( iounit, fmt = 9955 )8
212 WRITE( iounit, fmt =
'( '' Messages:'' )' )
214 ELSE IF(
lsamen( 2, p2,
'PS' ) )
THEN
223 IF(
lsame( c1,
'S' ) .OR.
lsame( c1,
'C' ) )
THEN
228 WRITE( iounit, fmt = 9995 )path, sym
229 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
230 WRITE( iounit, fmt = 8973 )eigcnm, eigcnm, eigcnm
231 WRITE( iounit, fmt =
'( '' Difference:'' )' )
232 WRITE( iounit, fmt = 8972 )c1
233 WRITE( iounit, fmt =
'( '' Test ratio:'' )' )
234 WRITE( iounit, fmt = 8950 )
235 WRITE( iounit, fmt =
'( '' Messages:'' )' )
236 ELSE IF(
lsamen( 2, p2,
'PB' ) )
THEN
241 WRITE( iounit, fmt = 9994 )path,
'Symmetric'
243 WRITE( iounit, fmt = 9994 )path,
'Hermitian'
245 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
246 WRITE( iounit, fmt = 9973 )path
247 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
248 WRITE( iounit, fmt = 9954 )1
249 WRITE( iounit, fmt = 9960 )2
250 WRITE( iounit, fmt = 9959 )3
251 WRITE( iounit, fmt = 9958 )4
252 WRITE( iounit, fmt = 9957 )5
253 WRITE( iounit, fmt = 9956 )6
254 WRITE( iounit, fmt = 9955 )7
255 WRITE( iounit, fmt =
'( '' Messages:'' )' )
257 ELSE IF(
lsamen( 2, p2,
'PT' ) )
THEN
262 WRITE( iounit, fmt = 9993 )path,
'Symmetric'
264 WRITE( iounit, fmt = 9993 )path,
'Hermitian'
266 WRITE( iounit, fmt = 9976 )
267 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
268 WRITE( iounit, fmt = 9952 )1
269 WRITE( iounit, fmt = 9960 )2
270 WRITE( iounit, fmt = 9959 )3
271 WRITE( iounit, fmt = 9958 )4
272 WRITE( iounit, fmt = 9957 )5
273 WRITE( iounit, fmt = 9956 )6
274 WRITE( iounit, fmt = 9955 )7
275 WRITE( iounit, fmt =
'( '' Messages:'' )' )
277 ELSE IF(
lsamen( 2, p2,
'SY' ) )
THEN
282 IF(
lsame( c3,
'Y' ) )
THEN
283 WRITE( iounit, fmt = 9992 )path,
'Symmetric'
285 WRITE( iounit, fmt = 9991 )path,
'Symmetric'
287 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
289 WRITE( iounit, fmt = 9972 )
291 WRITE( iounit, fmt = 9971 )
293 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
294 WRITE( iounit, fmt = 9953 )1
295 WRITE( iounit, fmt = 9961 )2
296 WRITE( iounit, fmt = 9960 )3
297 WRITE( iounit, fmt = 9960 )4
298 WRITE( iounit, fmt = 9959 )5
299 WRITE( iounit, fmt = 9958 )6
300 WRITE( iounit, fmt = 9956 )7
301 WRITE( iounit, fmt = 9957 )8
302 WRITE( iounit, fmt = 9955 )9
303 WRITE( iounit, fmt =
'( '' Messages:'' )' )
305 ELSE IF(
lsamen( 2, p2,
'SR' ) )
THEN
310 WRITE( iounit, fmt = 9892 )path,
'Symmetric'
312 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
314 WRITE( iounit, fmt = 9972 )
316 WRITE( iounit, fmt = 9971 )
319 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
320 WRITE( iounit, fmt = 9953 )1
321 WRITE( iounit, fmt = 9961 )2
322 WRITE( iounit, fmt = 9927 )3
323 WRITE( iounit, fmt = 9928 )
324 WRITE( iounit, fmt = 9926 )4
325 WRITE( iounit, fmt = 9928 )
326 WRITE( iounit, fmt = 9960 )5
327 WRITE( iounit, fmt = 9959 )6
328 WRITE( iounit, fmt = 9955 )7
329 WRITE( iounit, fmt =
'( '' Messages:'' )' )
331 ELSE IF(
lsamen( 2, p2,
'SP' ) )
THEN
336 IF(
lsame( c3,
'Y' ) )
THEN
337 WRITE( iounit, fmt = 9992 )path,
'Symmetric'
339 WRITE( iounit, fmt = 9991 )path,
'Symmetric'
341 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
343 WRITE( iounit, fmt = 9972 )
345 WRITE( iounit, fmt = 9971 )
347 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
348 WRITE( iounit, fmt = 9953 )1
349 WRITE( iounit, fmt = 9961 )2
350 WRITE( iounit, fmt = 9960 )3
351 WRITE( iounit, fmt = 9959 )4
352 WRITE( iounit, fmt = 9958 )5
353 WRITE( iounit, fmt = 9956 )6
354 WRITE( iounit, fmt = 9957 )7
355 WRITE( iounit, fmt = 9955 )8
356 WRITE( iounit, fmt =
'( '' Messages:'' )' )
358 ELSE IF(
lsamen( 2, p2,
'HE' ) )
THEN
363 WRITE( iounit, fmt = 9992 )path,
'Hermitian'
365 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
366 WRITE( iounit, fmt = 9972 )
368 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
369 WRITE( iounit, fmt = 9953 )1
370 WRITE( iounit, fmt = 9961 )2
371 WRITE( iounit, fmt = 9960 )3
372 WRITE( iounit, fmt = 9960 )4
373 WRITE( iounit, fmt = 9959 )5
374 WRITE( iounit, fmt = 9958 )6
375 WRITE( iounit, fmt = 9956 )7
376 WRITE( iounit, fmt = 9957 )8
377 WRITE( iounit, fmt = 9955 )9
378 WRITE( iounit, fmt =
'( '' Messages:'' )' )
380 ELSE IF(
lsamen( 2, p2,
'HR' ) )
THEN
385 WRITE( iounit, fmt = 9892 )path,
'Hermitian'
387 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
388 WRITE( iounit, fmt = 9972 )
390 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
391 WRITE( iounit, fmt = 9953 )1
392 WRITE( iounit, fmt = 9961 )2
393 WRITE( iounit, fmt = 9927 )3
394 WRITE( iounit, fmt = 9928 )
395 WRITE( iounit, fmt = 9926 )4
396 WRITE( iounit, fmt = 9928 )
397 WRITE( iounit, fmt = 9960 )5
398 WRITE( iounit, fmt = 9959 )6
399 WRITE( iounit, fmt = 9955 )7
400 WRITE( iounit, fmt =
'( '' Messages:'' )' )
402 ELSE IF(
lsamen( 2, p2,
'HP' ) )
THEN
407 IF(
lsame( c3,
'E' ) )
THEN
408 WRITE( iounit, fmt = 9992 )path,
'Hermitian'
410 WRITE( iounit, fmt = 9991 )path,
'Hermitian'
412 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
413 WRITE( iounit, fmt = 9972 )
414 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
415 WRITE( iounit, fmt = 9953 )1
416 WRITE( iounit, fmt = 9961 )2
417 WRITE( iounit, fmt = 9960 )3
418 WRITE( iounit, fmt = 9959 )4
419 WRITE( iounit, fmt = 9958 )5
420 WRITE( iounit, fmt = 9956 )6
421 WRITE( iounit, fmt = 9957 )7
422 WRITE( iounit, fmt = 9955 )8
423 WRITE( iounit, fmt =
'( '' Messages:'' )' )
425 ELSE IF(
lsamen( 2, p2,
'TR' ) .OR.
lsamen( 2, p2,
'TP' ) )
THEN
430 IF(
lsame( c3,
'R' ) )
THEN
431 WRITE( iounit, fmt = 9990 )path
432 subnam = path( 1: 1 ) //
'LATRS'
434 WRITE( iounit, fmt = 9989 )path
435 subnam = path( 1: 1 ) //
'LATPS'
437 WRITE( iounit, fmt = 9966 )path
438 WRITE( iounit, fmt = 9965 )subnam(1:len_trim( subnam ))
439 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
440 WRITE( iounit, fmt = 9961 )1
441 WRITE( iounit, fmt = 9960 )2
442 WRITE( iounit, fmt = 9959 )3
443 WRITE( iounit, fmt = 9958 )4
444 WRITE( iounit, fmt = 9957 )5
445 WRITE( iounit, fmt = 9956 )6
446 WRITE( iounit, fmt = 9955 )7
447 WRITE( iounit, fmt = 9951 )subnam(1:len_trim( subnam )), 8
448 WRITE( iounit, fmt =
'( '' Messages:'' )' )
450 ELSE IF(
lsamen( 2, p2,
'TB' ) )
THEN
454 WRITE( iounit, fmt = 9988 )path
455 subnam = path( 1: 1 ) //
'LATBS'
456 WRITE( iounit, fmt = 9964 )path
457 WRITE( iounit, fmt = 9963 )subnam(1:len_trim( subnam ))
458 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
459 WRITE( iounit, fmt = 9960 )1
460 WRITE( iounit, fmt = 9959 )2
461 WRITE( iounit, fmt = 9958 )3
462 WRITE( iounit, fmt = 9957 )4
463 WRITE( iounit, fmt = 9956 )5
464 WRITE( iounit, fmt = 9955 )6
465 WRITE( iounit, fmt = 9951 )subnam(1:len_trim( subnam )), 7
466 WRITE( iounit, fmt =
'( '' Messages:'' )' )
468 ELSE IF(
lsamen( 2, p2,
'QR' ) )
THEN
472 WRITE( iounit, fmt = 9987 )path,
'QR'
473 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
474 WRITE( iounit, fmt = 9970 )
475 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
476 WRITE( iounit, fmt = 9950 )1
477 WRITE( iounit, fmt = 6950 )8
478 WRITE( iounit, fmt = 9946 )2
479 WRITE( iounit, fmt = 9944 )3,
'M'
480 WRITE( iounit, fmt = 9943 )4,
'M'
481 WRITE( iounit, fmt = 9942 )5,
'M'
482 WRITE( iounit, fmt = 9941 )6,
'M'
483 WRITE( iounit, fmt = 9960 )7
484 WRITE( iounit, fmt = 6660 )9
485 WRITE( iounit, fmt =
'( '' Messages:'' )' )
487 ELSE IF(
lsamen( 2, p2,
'LQ' ) )
THEN
491 WRITE( iounit, fmt = 9987 )path,
'LQ'
492 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
493 WRITE( iounit, fmt = 9970 )
494 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
495 WRITE( iounit, fmt = 9949 )1
496 WRITE( iounit, fmt = 9945 )2
497 WRITE( iounit, fmt = 9944 )3,
'N'
498 WRITE( iounit, fmt = 9943 )4,
'N'
499 WRITE( iounit, fmt = 9942 )5,
'N'
500 WRITE( iounit, fmt = 9941 )6,
'N'
501 WRITE( iounit, fmt = 9960 )7
502 WRITE( iounit, fmt =
'( '' Messages:'' )' )
504 ELSE IF(
lsamen( 2, p2,
'QL' ) )
THEN
508 WRITE( iounit, fmt = 9987 )path,
'QL'
509 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
510 WRITE( iounit, fmt = 9970 )
511 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
512 WRITE( iounit, fmt = 9948 )1
513 WRITE( iounit, fmt = 9946 )2
514 WRITE( iounit, fmt = 9944 )3,
'M'
515 WRITE( iounit, fmt = 9943 )4,
'M'
516 WRITE( iounit, fmt = 9942 )5,
'M'
517 WRITE( iounit, fmt = 9941 )6,
'M'
518 WRITE( iounit, fmt = 9960 )7
519 WRITE( iounit, fmt =
'( '' Messages:'' )' )
521 ELSE IF(
lsamen( 2, p2,
'RQ' ) )
THEN
525 WRITE( iounit, fmt = 9987 )path,
'RQ'
526 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
527 WRITE( iounit, fmt = 9970 )
528 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
529 WRITE( iounit, fmt = 9947 )1
530 WRITE( iounit, fmt = 9945 )2
531 WRITE( iounit, fmt = 9944 )3,
'N'
532 WRITE( iounit, fmt = 9943 )4,
'N'
533 WRITE( iounit, fmt = 9942 )5,
'N'
534 WRITE( iounit, fmt = 9941 )6,
'N'
535 WRITE( iounit, fmt = 9960 )7
536 WRITE( iounit, fmt =
'( '' Messages:'' )' )
538 ELSE IF(
lsamen( 2, p2,
'QP' ) )
THEN
542 WRITE( iounit, fmt = 9986 )path
543 WRITE( iounit, fmt = 9969 )
544 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
545 WRITE( iounit, fmt = 9940 )1
546 WRITE( iounit, fmt = 9939 )2
547 WRITE( iounit, fmt = 9938 )3
548 WRITE( iounit, fmt =
'( '' Messages:'' )' )
550 ELSE IF(
lsamen( 2, p2,
'TZ' ) )
THEN
554 WRITE( iounit, fmt = 9985 )path
555 WRITE( iounit, fmt = 9968 )
556 WRITE( iounit, fmt = 9929 )c1
557 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
558 WRITE( iounit, fmt = 9940 )1
559 WRITE( iounit, fmt = 9937 )2
560 WRITE( iounit, fmt = 9938 )3
561 WRITE( iounit, fmt =
'( '' Messages:'' )' )
563 ELSE IF(
lsamen( 2, p2,
'LS' ) )
THEN
568 WRITE( iounit, fmt = 9984 )path
569 WRITE( iounit, fmt = 9967 )
570 WRITE( iounit, fmt = 9921 )c1, c1, c1, c1
571 WRITE( iounit, fmt = 9935 )1
572 WRITE( iounit, fmt = 9931 )2
573 WRITE( iounit, fmt = 9933 )3
574 WRITE( iounit, fmt = 9935 )4
575 WRITE( iounit, fmt = 9934 )5
576 WRITE( iounit, fmt = 9932 )6
577 WRITE( iounit, fmt = 9920 )
578 WRITE( iounit, fmt =
'( '' Messages:'' )' )
580 ELSE IF(
lsamen( 2, p2,
'LU' ) )
THEN
584 WRITE( iounit, fmt = 9983 )path
585 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
586 WRITE( iounit, fmt = 9979 )
587 WRITE( iounit, fmt =
'( '' Test ratio:'' )' )
588 WRITE( iounit, fmt = 9962 )1
589 WRITE( iounit, fmt =
'( '' Messages:'' )' )
591 ELSE IF(
lsamen( 2, p2,
'CH' ) )
THEN
595 WRITE( iounit, fmt = 9982 )path
596 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
597 WRITE( iounit, fmt = 9974 )
598 WRITE( iounit, fmt =
'( '' Test ratio:'' )' )
599 WRITE( iounit, fmt = 9954 )1
600 WRITE( iounit, fmt =
'( '' Messages:'' )' )
602 ELSE IF(
lsamen( 2, p2,
'QS' ) )
THEN
606 WRITE( iounit, fmt = 9981 )path
607 WRITE( iounit, fmt =
'( '' Matrix types:'' )' )
608 WRITE( iounit, fmt = 9970 )
609 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
611 ELSE IF(
lsamen( 2, p2,
'QT' ) )
THEN
615 WRITE( iounit, fmt = 8000 ) path
616 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
617 WRITE( iounit, fmt = 8011 ) 1
618 WRITE( iounit, fmt = 8012 ) 2
619 WRITE( iounit, fmt = 8013 ) 3
620 WRITE( iounit, fmt = 8014 ) 4
621 WRITE( iounit, fmt = 8015 ) 5
622 WRITE( iounit, fmt = 8016 ) 6
624 ELSE IF(
lsamen( 2, p2,
'QX' ) )
THEN
628 WRITE( iounit, fmt = 8001 ) path
629 WRITE( iounit, fmt =
'( '' Test ratios:'' )' )
630 WRITE( iounit, fmt = 8017 ) 1
631 WRITE( iounit, fmt = 8018 ) 2
632 WRITE( iounit, fmt = 8019 ) 3
633 WRITE( iounit, fmt = 8020 ) 4
634 WRITE( iounit, fmt = 8021 ) 5
635 WRITE( iounit, fmt = 8022 ) 6
641 WRITE( iounit, fmt = 9980 )path
646 9999
FORMAT( / 1x, a3,
': General dense matrices' )
647 9998
FORMAT( / 1x, a3,
': General band matrices' )
648 9997
FORMAT( / 1x, a3,
': General tridiagonal' )
649 9996
FORMAT( / 1x, a3,
': ', a9,
' positive definite matrices' )
650 9995
FORMAT( / 1x, a3,
': ', a9,
' positive definite packed matrices'
652 9994
FORMAT( / 1x, a3,
': ', a9,
' positive definite band matrices' )
653 9993
FORMAT( / 1x, a3,
': ', a9,
' positive definite tridiagonal' )
654 9992
FORMAT( / 1x, a3,
': ', a9,
' indefinite matrices',
655 $
', partial (Bunch-Kaufman) pivoting' )
656 9991
FORMAT( / 1x, a3,
': ', a9,
' indefinite packed matrices',
657 $
', partial (Bunch-Kaufman) pivoting' )
658 9892
FORMAT( / 1x, a3,
': ', a9,
' indefinite matrices',
659 $
', "rook" (bounded Bunch-Kaufman) pivoting' )
660 9891
FORMAT( / 1x, a3,
': ', a9,
' indefinite packed matrices',
661 $
', "rook" (bounded Bunch-Kaufman) pivoting' )
662 9990
FORMAT( / 1x, a3,
': Triangular matrices' )
663 9989
FORMAT( / 1x, a3,
': Triangular packed matrices' )
664 9988
FORMAT( / 1x, a3,
': Triangular band matrices' )
665 9987
FORMAT( / 1x, a3,
': ', a2,
' factorization of general matrices'
667 9986
FORMAT( / 1x, a3,
': QR factorization with column pivoting' )
668 9985
FORMAT( / 1x, a3,
': RQ factorization of trapezoidal matrix' )
669 9984
FORMAT( / 1x, a3,
': Least squares driver routines' )
670 9983
FORMAT( / 1x, a3,
': LU factorization variants' )
671 9982
FORMAT( / 1x, a3,
': Cholesky factorization variants' )
672 9981
FORMAT( / 1x, a3,
': QR factorization variants' )
673 9980
FORMAT( / 1x, a3,
': No header available' )
674 8000
FORMAT( / 1x, a3,
': QRT factorization for general matrices' )
675 8001
FORMAT( / 1x, a3,
': QRT factorization for ',
676 $
'triangular-pentagonal matrices' )
680 9979
FORMAT( 4x,
'1. Diagonal', 24x,
'7. Last n/2 columns zero', / 4x,
681 $
'2. Upper triangular', 16x,
682 $
'8. Random, CNDNUM = sqrt(0.1/EPS)', / 4x,
683 $
'3. Lower triangular', 16x,
'9. Random, CNDNUM = 0.1/EPS',
684 $ / 4x,
'4. Random, CNDNUM = 2', 13x,
685 $
'10. Scaled near underflow', / 4x,
'5. First column zero',
686 $ 14x,
'11. Scaled near overflow', / 4x,
687 $
'6. Last column zero' )
691 9978
FORMAT( 4x,
'1. Random, CNDNUM = 2', 14x,
692 $
'5. Random, CNDNUM = sqrt(0.1/EPS)', / 4x,
693 $
'2. First column zero', 15x,
'6. Random, CNDNUM = .01/EPS',
694 $ / 4x,
'3. Last column zero', 16x,
695 $
'7. Scaled near underflow', / 4x,
696 $
'4. Last n/2 columns zero', 11x,
'8. Scaled near overflow' )
700 9977
FORMAT(
' Matrix types (1-6 have specified condition numbers):',
701 $ / 4x,
'1. Diagonal', 24x,
'7. Random, unspecified CNDNUM',
702 $ / 4x,
'2. Random, CNDNUM = 2', 14x,
'8. First column zero',
703 $ / 4x,
'3. Random, CNDNUM = sqrt(0.1/EPS)', 2x,
704 $
'9. Last column zero', / 4x,
'4. Random, CNDNUM = 0.1/EPS',
705 $ 7x,
'10. Last n/2 columns zero', / 4x,
706 $
'5. Scaled near underflow', 10x,
707 $
'11. Scaled near underflow', / 4x,
708 $
'6. Scaled near overflow', 11x,
'12. Scaled near overflow' )
712 9976
FORMAT(
' Matrix types (1-6 have specified condition numbers):',
713 $ / 4x,
'1. Diagonal', 24x,
'7. Random, unspecified CNDNUM',
714 $ / 4x,
'2. Random, CNDNUM = 2', 14x,
715 $
'8. First row and column zero', / 4x,
716 $
'3. Random, CNDNUM = sqrt(0.1/EPS)', 2x,
717 $
'9. Last row and column zero', / 4x,
718 $
'4. Random, CNDNUM = 0.1/EPS', 7x,
719 $
'10. Middle row and column zero', / 4x,
720 $
'5. Scaled near underflow', 10x,
721 $
'11. Scaled near underflow', / 4x,
722 $
'6. Scaled near overflow', 11x,
'12. Scaled near overflow' )
726 9975
FORMAT( 4x,
'1. Diagonal', 24x,
727 $
'6. Random, CNDNUM = sqrt(0.1/EPS)', / 4x,
728 $
'2. Random, CNDNUM = 2', 14x,
'7. Random, CNDNUM = 0.1/EPS',
729 $ / 3x,
'*3. First row and column zero', 7x,
730 $
'8. Scaled near underflow', / 3x,
731 $
'*4. Last row and column zero', 8x,
732 $
'9. Scaled near overflow', / 3x,
733 $
'*5. Middle row and column zero', / 3x,
734 $
'(* - tests error exits from ', a3,
735 $
'TRF, no test ratios are computed)' )
739 9974
FORMAT( 4x,
'1. Diagonal', 24x,
740 $
'6. Random, CNDNUM = sqrt(0.1/EPS)', / 4x,
741 $
'2. Random, CNDNUM = 2', 14x,
'7. Random, CNDNUM = 0.1/EPS',
742 $ / 3x,
'*3. First row and column zero', 7x,
743 $
'8. Scaled near underflow', / 3x,
744 $
'*4. Last row and column zero', 8x,
745 $
'9. Scaled near overflow', / 3x,
746 $
'*5. Middle row and column zero', / 3x,
747 $
'(* - tests error exits, no test ratios are computed)' )
751 8973
FORMAT( 4x,
'1. Diagonal', / 4x,
'2. Random, CNDNUM = 2', 14x,
752 $ / 3x,
'*3. Nonzero eigenvalues of: D(1:RANK-1)=1 and ',
753 $
'D(RANK) = 1.0/', a4, / 3x,
754 $
'*4. Nonzero eigenvalues of: D(1)=1 and ',
755 $
' D(2:RANK) = 1.0/', a4, / 3x,
756 $
'*5. Nonzero eigenvalues of: D(I) = ', a4,
757 $
'**(-(I-1)/(RANK-1)) ',
' I=1:RANK', / 4x,
758 $
'6. Random, CNDNUM = sqrt(0.1/EPS)', / 4x,
759 $
'7. Random, CNDNUM = 0.1/EPS', / 4x,
760 $
'8. Scaled near underflow', / 4x,
'9. Scaled near overflow',
761 $ / 3x,
'(* - Semi-definite tests )' )
762 8972
FORMAT( 3x,
'RANK minus computed rank, returned by ', a,
'PSTRF' )
766 9973
FORMAT( 4x,
'1. Random, CNDNUM = 2', 14x,
767 $
'5. Random, CNDNUM = sqrt(0.1/EPS)', / 3x,
768 $
'*2. First row and column zero', 7x,
769 $
'6. Random, CNDNUM = 0.1/EPS', / 3x,
770 $
'*3. Last row and column zero', 8x,
771 $
'7. Scaled near underflow', / 3x,
772 $
'*4. Middle row and column zero', 6x,
773 $
'8. Scaled near overflow', / 3x,
774 $
'(* - tests error exits from ', a3,
775 $
'TRF, no test ratios are computed)' )
779 9972
FORMAT( 4x,
'1. Diagonal', 24x,
780 $
'6. Last n/2 rows and columns zero', / 4x,
781 $
'2. Random, CNDNUM = 2', 14x,
782 $
'7. Random, CNDNUM = sqrt(0.1/EPS)', / 4x,
783 $
'3. First row and column zero', 7x,
784 $
'8. Random, CNDNUM = 0.1/EPS', / 4x,
785 $
'4. Last row and column zero', 8x,
786 $
'9. Scaled near underflow', / 4x,
787 $
'5. Middle row and column zero', 5x,
788 $
'10. Scaled near overflow' )
792 9971
FORMAT( 4x,
'1. Diagonal', 24x,
793 $
'7. Random, CNDNUM = sqrt(0.1/EPS)', / 4x,
794 $
'2. Random, CNDNUM = 2', 14x,
'8. Random, CNDNUM = 0.1/EPS',
795 $ / 4x,
'3. First row and column zero', 7x,
796 $
'9. Scaled near underflow', / 4x,
797 $
'4. Last row and column zero', 7x,
798 $
'10. Scaled near overflow', / 4x,
799 $
'5. Middle row and column zero', 5x,
800 $
'11. Block diagonal matrix', / 4x,
801 $
'6. Last n/2 rows and columns zero' )
805 9970
FORMAT( 4x,
'1. Diagonal', 24x,
806 $
'5. Random, CNDNUM = sqrt(0.1/EPS)', / 4x,
807 $
'2. Upper triangular', 16x,
'6. Random, CNDNUM = 0.1/EPS',
808 $ / 4x,
'3. Lower triangular', 16x,
809 $
'7. Scaled near underflow', / 4x,
'4. Random, CNDNUM = 2',
810 $ 14x,
'8. Scaled near overflow' )
814 9969
FORMAT(
' Matrix types (2-6 have condition 1/EPS):', / 4x,
815 $
'1. Zero matrix', 21x,
'4. First n/2 columns fixed', / 4x,
816 $
'2. One small eigenvalue', 12x,
'5. Last n/2 columns fixed',
817 $ / 4x,
'3. Geometric distribution', 10x,
818 $
'6. Every second column fixed' )
822 9968
FORMAT(
' Matrix types (2-3 have condition 1/EPS):', / 4x,
823 $
'1. Zero matrix', / 4x,
'2. One small eigenvalue', / 4x,
824 $
'3. Geometric distribution' )
828 9967
FORMAT(
' Matrix types (1-3: full rank, 4-6: rank deficient):',
829 $ / 4x,
'1 and 4. Normal scaling', / 4x,
830 $
'2 and 5. Scaled near overflow', / 4x,
831 $
'3 and 6. Scaled near underflow' )
835 9966
FORMAT(
' Matrix types for ', a3,
' routines:', / 4x,
836 $
'1. Diagonal', 24x,
'6. Scaled near overflow', / 4x,
837 $
'2. Random, CNDNUM = 2', 14x,
'7. Identity', / 4x,
838 $
'3. Random, CNDNUM = sqrt(0.1/EPS) ',
839 $
'8. Unit triangular, CNDNUM = 2', / 4x,
840 $
'4. Random, CNDNUM = 0.1/EPS', 8x,
841 $
'9. Unit, CNDNUM = sqrt(0.1/EPS)', / 4x,
842 $
'5. Scaled near underflow', 10x,
843 $
'10. Unit, CNDNUM = 0.1/EPS' )
844 9965
FORMAT(
' Special types for testing ', a,
':', / 3x,
845 $
'11. Matrix elements are O(1), large right hand side', / 3x,
846 $
'12. First diagonal causes overflow,',
847 $
' offdiagonal column norms < 1', / 3x,
848 $
'13. First diagonal causes overflow,',
849 $
' offdiagonal column norms > 1', / 3x,
850 $
'14. Growth factor underflows, solution does not overflow',
851 $ / 3x,
'15. Small diagonal causes gradual overflow', / 3x,
852 $
'16. One zero diagonal element', / 3x,
853 $
'17. Large offdiagonals cause overflow when adding a column'
854 $ , / 3x,
'18. Unit triangular with large right hand side' )
858 9964
FORMAT(
' Matrix types for ', a3,
' routines:', / 4x,
859 $
'1. Random, CNDNUM = 2', 14x,
'6. Identity', / 4x,
860 $
'2. Random, CNDNUM = sqrt(0.1/EPS) ',
861 $
'7. Unit triangular, CNDNUM = 2', / 4x,
862 $
'3. Random, CNDNUM = 0.1/EPS', 8x,
863 $
'8. Unit, CNDNUM = sqrt(0.1/EPS)', / 4x,
864 $
'4. Scaled near underflow', 11x,
865 $
'9. Unit, CNDNUM = 0.1/EPS', / 4x,
866 $
'5. Scaled near overflow' )
867 9963
FORMAT(
' Special types for testing ', a,
':', / 3x,
868 $
'10. Matrix elements are O(1), large right hand side', / 3x,
869 $
'11. First diagonal causes overflow,',
870 $
' offdiagonal column norms < 1', / 3x,
871 $
'12. First diagonal causes overflow,',
872 $
' offdiagonal column norms > 1', / 3x,
873 $
'13. Growth factor underflows, solution does not overflow',
874 $ / 3x,
'14. Small diagonal causes gradual overflow', / 3x,
875 $
'15. One zero diagonal element', / 3x,
876 $
'16. Large offdiagonals cause overflow when adding a column'
877 $ , / 3x,
'17. Unit triangular with large right hand side' )
881 9962
FORMAT( 3x, i2,
': norm( L * U - A ) / ( N * norm(A) * EPS )' )
882 9961
FORMAT( 3x, i2,
': norm( I - A*AINV ) / ',
883 $
'( N * norm(A) * norm(AINV) * EPS )' )
884 9960
FORMAT( 3x, i2,
': norm( B - A * X ) / ',
885 $
'( norm(A) * norm(X) * EPS )' )
886 6660
FORMAT( 3x, i2,
': diagonal is not non-negative')
887 9959
FORMAT( 3x, i2,
': norm( X - XACT ) / ',
888 $
'( norm(XACT) * CNDNUM * EPS )' )
889 9958
FORMAT( 3x, i2,
': norm( X - XACT ) / ',
890 $
'( norm(XACT) * CNDNUM * EPS ), refined' )
891 9957
FORMAT( 3x, i2,
': norm( X - XACT ) / ',
892 $
'( norm(XACT) * (error bound) )' )
893 9956
FORMAT( 3x, i2,
': (backward error) / EPS' )
894 9955
FORMAT( 3x, i2,
': RCOND * CNDNUM - 1.0' )
895 9954
FORMAT( 3x, i2,
': norm( U'' * U - A ) / ( N * norm(A) * EPS )',
896 $
', or', / 7x,
'norm( L * L'' - A ) / ( N * norm(A) * EPS )'
899 $
'norm( P * U'' * U * P'' - A ) / ( N * norm(A) * EPS )',
901 $
'norm( P * L * L'' * P'' - A ) / ( N * norm(A) * EPS )' )
902 9953
FORMAT( 3x, i2,
': norm( U*D*U'' - A ) / ( N * norm(A) * EPS )',
903 $
', or', / 7x,
'norm( L*D*L'' - A ) / ( N * norm(A) * EPS )'
905 9952
FORMAT( 3x, i2,
': norm( U''*D*U - A ) / ( N * norm(A) * EPS )',
906 $
', or', / 7x,
'norm( L*D*L'' - A ) / ( N * norm(A) * EPS )'
908 9951
FORMAT(
' Test ratio for ', a,
':', / 3x, i2,
909 $
': norm( s*b - A*x ) / ( norm(A) * norm(x) * EPS )' )
910 9950
FORMAT( 3x, i2,
': norm( R - Q'' * A ) / ( M * norm(A) * EPS )' )
911 6950
FORMAT( 3x, i2,
': norm( R - Q'' * A ) / ( M * norm(A) * EPS )
913 9949
FORMAT( 3x, i2,
': norm( L - A * Q'' ) / ( N * norm(A) * EPS )' )
914 9948
FORMAT( 3x, i2,
': norm( L - Q'' * A ) / ( M * norm(A) * EPS )' )
915 9947
FORMAT( 3x, i2,
': norm( R - A * Q'' ) / ( N * norm(A) * EPS )' )
916 9946
FORMAT( 3x, i2,
': norm( I - Q''*Q ) / ( M * EPS )' )
917 9945
FORMAT( 3x, i2,
': norm( I - Q*Q'' ) / ( N * EPS )' )
918 9944
FORMAT( 3x, i2,
': norm( Q*C - Q*C ) / ',
'( ', a1,
919 $
' * norm(C) * EPS )' )
920 9943
FORMAT( 3x, i2,
': norm( C*Q - C*Q ) / ',
'( ', a1,
921 $
' * norm(C) * EPS )' )
922 9942
FORMAT( 3x, i2,
': norm( Q''*C - Q''*C )/ ',
'( ', a1,
923 $
' * norm(C) * EPS )' )
924 9941
FORMAT( 3x, i2,
': norm( C*Q'' - C*Q'' )/ ',
'( ', a1,
925 $
' * norm(C) * EPS )' )
926 9940
FORMAT( 3x, i2,
': norm(svd(A) - svd(R)) / ',
927 $
'( M * norm(svd(R)) * EPS )' )
928 9939
FORMAT( 3x, i2,
': norm( A*P - Q*R ) / ( M * norm(A) * EPS )'
930 9938
FORMAT( 3x, i2,
': norm( I - Q''*Q ) / ( M * EPS )' )
931 9937
FORMAT( 3x, i2,
': norm( A - R*Q ) / ( M * norm(A) * EPS )'
933 9935
FORMAT( 3x, i2,
': norm( B - A * X ) / ',
934 $
'( max(M,N) * norm(A) * norm(X) * EPS )' )
935 9934
FORMAT( 3x, i2,
': norm( (A*X-B)'' *A ) / ',
936 $
'( max(M,N,NRHS) * norm(A) * norm(B) * EPS )' )
937 9933
FORMAT( 3x, i2,
': norm(svd(A)-svd(R)) / ',
938 $
'( min(M,N) * norm(svd(R)) * EPS )' )
939 9932
FORMAT( 3x, i2,
': Check if X is in the row space of A or A''' )
940 9931
FORMAT( 3x, i2,
': norm( (A*X-B)'' *A ) / ',
941 $
'( max(M,N,NRHS) * norm(A) * norm(B) * EPS )', / 7x,
942 $
'if TRANS=''N'.GE.
' and MN or TRANS=''T'.LT.
' and MN, ',
944 $
'check if X is in the row space of A or A'' ',
945 $
'(overdetermined case)' )
946 9929
FORMAT(
' Test ratios (1-3: ', a1,
'TZRZF):' )
947 9920
FORMAT( 3x,
' 7-10: same as 3-6', 3x,
' 11-14: same as 3-6' )
948 9921
FORMAT(
' Test ratios:', /
' (1-2: ', a1,
'GELS, 3-6: ', a1,
949 $
'GELSY, 7-10: ', a1,
'GELSS, 11-14: ', a1,
'GELSD)' )
950 9928
FORMAT( 7x,
'where ALPHA = ( 1 + SQRT( 17 ) ) / 8' )
951 9927
FORMAT( 3x, i2,
': ABS( Largest element in L )', / 12x,
952 $
' - ( 1 / ( 1 - ALPHA ) ) + THRESH' )
953 9926
FORMAT( 3x, i2,
': Largest 2-Norm of 2-by-2 pivots', / 12x,
954 $
' - ( ( 1 + ALPHA ) / ( 1 - ALPHA ) ) + THRESH' )
955 8011
FORMAT(3x,i2,
': norm( R - Q''*A ) / ( M * norm(A) * EPS )' )
956 8012
FORMAT(3x,i2,
': norm( I - Q''*Q ) / ( M * EPS )' )
957 8013
FORMAT(3x,i2,
': norm( Q*C - Q*C ) / ( M * norm(C) * EPS )' )
958 8014
FORMAT(3x,i2,
': norm( Q''*C - Q''*C ) / ( M * norm(C) * EPS )')
959 8015
FORMAT(3x,i2,
': norm( C*Q - C*Q ) / ( M * norm(C) * EPS )' )
960 8016
FORMAT(3x,i2,
': norm( C*Q'' - C*Q'' ) / ( M * norm(C) * EPS )')
961 8017
FORMAT(3x,i2,
': norm( R - Q''*A ) / ( (M+N) * norm(A) * EPS )' )
962 8018
FORMAT(3x,i2,
': norm( I - Q''*Q ) / ( (M+N) * EPS )' )
963 8019
FORMAT(3x,i2,
': norm( Q*C - Q*C ) / ( (M+N) * norm(C) * EPS )' )
965 $
': norm( Q''*C - Q''*C ) / ( (M+N) * norm(C) * EPS )')
966 8021
FORMAT(3x,i2,
': norm( C*Q - C*Q ) / ( (M+N) * norm(C) * EPS )' )
968 $
': norm( C*Q'' - C*Q'' ) / ( (M+N) * norm(C) * EPS )')
logical function lsamen(N, CA, CB)
LSAMEN
logical function lsame(CA, CB)
LSAME