LAPACK  3.10.1
LAPACK: Linear Algebra PACKage

◆ check2()

subroutine check2 ( double precision  SFAC)

Definition at line 362 of file dblat1.f.

363 * .. Parameters ..
364  INTEGER NOUT
365  parameter(nout=6)
366 * .. Scalar Arguments ..
367  DOUBLE PRECISION SFAC
368 * .. Scalars in Common ..
369  INTEGER ICASE, INCX, INCY, N
370  LOGICAL PASS
371 * .. Local Scalars ..
372  DOUBLE PRECISION SA
373  INTEGER I, J, KI, KN, KNI, KPAR, KSIZE, LENX, LENY,
374  $ LINCX, LINCY, MX, MY
375 * .. Local Arrays ..
376  DOUBLE PRECISION DT10X(7,4,4), DT10Y(7,4,4), DT7(4,4),
377  $ DT8(7,4,4), DX1(7),
378  $ DY1(7), SSIZE1(4), SSIZE2(14,2), SSIZE(7),
379  $ STX(7), STY(7), SX(7), SY(7),
380  $ DPAR(5,4), DT19X(7,4,16),DT19XA(7,4,4),
381  $ DT19XB(7,4,4), DT19XC(7,4,4),DT19XD(7,4,4),
382  $ DT19Y(7,4,16), DT19YA(7,4,4),DT19YB(7,4,4),
383  $ DT19YC(7,4,4), DT19YD(7,4,4), DTEMP(5),
384  $ STY0(1), SX0(1), SY0(1)
385  INTEGER INCXS(4), INCYS(4), LENS(4,2), NS(4)
386 * .. External Functions ..
387  DOUBLE PRECISION DDOT, DSDOT
388  EXTERNAL ddot, dsdot
389 * .. External Subroutines ..
390  EXTERNAL daxpy, dcopy, drotm, dswap, stest, stest1,
391  $ testdsdot
392 * .. Intrinsic Functions ..
393  INTRINSIC abs, min
394 * .. Common blocks ..
395  COMMON /combla/icase, n, incx, incy, pass
396 * .. Data statements ..
397  equivalence(dt19x(1,1,1),dt19xa(1,1,1)),(dt19x(1,1,5),
398  a dt19xb(1,1,1)),(dt19x(1,1,9),dt19xc(1,1,1)),
399  b (dt19x(1,1,13),dt19xd(1,1,1))
400  equivalence(dt19y(1,1,1),dt19ya(1,1,1)),(dt19y(1,1,5),
401  a dt19yb(1,1,1)),(dt19y(1,1,9),dt19yc(1,1,1)),
402  b (dt19y(1,1,13),dt19yd(1,1,1))
403 
404  DATA sa/0.3d0/
405  DATA incxs/1, 2, -2, -1/
406  DATA incys/1, -2, 1, -2/
407  DATA lens/1, 1, 2, 4, 1, 1, 3, 7/
408  DATA ns/0, 1, 2, 4/
409  DATA dx1/0.6d0, 0.1d0, -0.5d0, 0.8d0, 0.9d0, -0.3d0,
410  + -0.4d0/
411  DATA dy1/0.5d0, -0.9d0, 0.3d0, 0.7d0, -0.6d0, 0.2d0,
412  + 0.8d0/
413  DATA dt7/0.0d0, 0.30d0, 0.21d0, 0.62d0, 0.0d0,
414  + 0.30d0, -0.07d0, 0.85d0, 0.0d0, 0.30d0, -0.79d0,
415  + -0.74d0, 0.0d0, 0.30d0, 0.33d0, 1.27d0/
416  DATA dt8/0.5d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0,
417  + 0.0d0, 0.68d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0,
418  + 0.0d0, 0.0d0, 0.68d0, -0.87d0, 0.0d0, 0.0d0,
419  + 0.0d0, 0.0d0, 0.0d0, 0.68d0, -0.87d0, 0.15d0,
420  + 0.94d0, 0.0d0, 0.0d0, 0.0d0, 0.5d0, 0.0d0,
421  + 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.68d0,
422  + 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0,
423  + 0.35d0, -0.9d0, 0.48d0, 0.0d0, 0.0d0, 0.0d0,
424  + 0.0d0, 0.38d0, -0.9d0, 0.57d0, 0.7d0, -0.75d0,
425  + 0.2d0, 0.98d0, 0.5d0, 0.0d0, 0.0d0, 0.0d0,
426  + 0.0d0, 0.0d0, 0.0d0, 0.68d0, 0.0d0, 0.0d0,
427  + 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.35d0, -0.72d0,
428  + 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.38d0,
429  + -0.63d0, 0.15d0, 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0, 0.0d0,
473  + 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0, 0.0d0,
474  + 0.0d0, 1.17d0, 1.17d0, 1.17d0, 1.17d0, 1.17d0,
475  + 1.17d0, 1.17d0, 1.17d0, 1.17d0, 1.17d0, 1.17d0,
476  + 1.17d0, 1.17d0, 1.17d0/
477 *
478 * FOR DROTM
479 *
480  DATA dpar/-2.d0, 0.d0,0.d0,0.d0,0.d0,
481  a -1.d0, 2.d0, -3.d0, -4.d0, 5.d0,
482  b 0.d0, 0.d0, 2.d0, -3.d0, 0.d0,
483  c 1.d0, 5.d0, 2.d0, 0.d0, -4.d0/
484 * TRUE X RESULTS F0R ROTATIONS DROTM
485  DATA dt19xa/.6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
486  a .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
487  b .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
488  c .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
489  d .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
490  e -.8d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
491  f -.9d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
492  g 3.5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
493  h .6d0, .1d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
494  i -.8d0, 3.8d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
495  j -.9d0, 2.8d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
496  k 3.5d0, -.4d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
497  l .6d0, .1d0, -.5d0, .8d0, 0.d0,0.d0,0.d0,
498  m -.8d0, 3.8d0, -2.2d0, -1.2d0, 0.d0,0.d0,0.d0,
499  n -.9d0, 2.8d0, -1.4d0, -1.3d0, 0.d0,0.d0,0.d0,
500  o 3.5d0, -.4d0, -2.2d0, 4.7d0, 0.d0,0.d0,0.d0/
501 *
502  DATA dt19xb/.6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
503  a .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
504  b .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
505  c .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
506  d .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
507  e -.8d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
508  f -.9d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
509  g 3.5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
510  h .6d0, .1d0, -.5d0, 0.d0,0.d0,0.d0,0.d0,
511  i 0.d0, .1d0, -3.0d0, 0.d0,0.d0,0.d0,0.d0,
512  j -.3d0, .1d0, -2.0d0, 0.d0,0.d0,0.d0,0.d0,
513  k 3.3d0, .1d0, -2.0d0, 0.d0,0.d0,0.d0,0.d0,
514  l .6d0, .1d0, -.5d0, .8d0, .9d0, -.3d0, -.4d0,
515  m -2.0d0, .1d0, 1.4d0, .8d0, .6d0, -.3d0, -2.8d0,
516  n -1.8d0, .1d0, 1.3d0, .8d0, 0.d0, -.3d0, -1.9d0,
517  o 3.8d0, .1d0, -3.1d0, .8d0, 4.8d0, -.3d0, -1.5d0 /
518 *
519  DATA dt19xc/.6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
520  a .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
521  b .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
522  c .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
523  d .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
524  e -.8d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
525  f -.9d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
526  g 3.5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
527  h .6d0, .1d0, -.5d0, 0.d0,0.d0,0.d0,0.d0,
528  i 4.8d0, .1d0, -3.0d0, 0.d0,0.d0,0.d0,0.d0,
529  j 3.3d0, .1d0, -2.0d0, 0.d0,0.d0,0.d0,0.d0,
530  k 2.1d0, .1d0, -2.0d0, 0.d0,0.d0,0.d0,0.d0,
531  l .6d0, .1d0, -.5d0, .8d0, .9d0, -.3d0, -.4d0,
532  m -1.6d0, .1d0, -2.2d0, .8d0, 5.4d0, -.3d0, -2.8d0,
533  n -1.5d0, .1d0, -1.4d0, .8d0, 3.6d0, -.3d0, -1.9d0,
534  o 3.7d0, .1d0, -2.2d0, .8d0, 3.6d0, -.3d0, -1.5d0 /
535 *
536  DATA dt19xd/.6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
537  a .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
538  b .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
539  c .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
540  d .6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
541  e -.8d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
542  f -.9d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
543  g 3.5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
544  h .6d0, .1d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
545  i -.8d0, -1.0d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
546  j -.9d0, -.8d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
547  k 3.5d0, .8d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
548  l .6d0, .1d0, -.5d0, .8d0, 0.d0,0.d0,0.d0,
549  m -.8d0, -1.0d0, 1.4d0, -1.6d0, 0.d0,0.d0,0.d0,
550  n -.9d0, -.8d0, 1.3d0, -1.6d0, 0.d0,0.d0,0.d0,
551  o 3.5d0, .8d0, -3.1d0, 4.8d0, 0.d0,0.d0,0.d0/
552 * TRUE Y RESULTS FOR ROTATIONS DROTM
553  DATA dt19ya/.5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
554  a .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
555  b .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
556  c .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
557  d .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
558  e .7d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
559  f 1.7d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
560  g -2.6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
561  h .5d0, -.9d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
562  i .7d0, -4.8d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
563  j 1.7d0, -.7d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
564  k -2.6d0, 3.5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
565  l .5d0, -.9d0, .3d0, .7d0, 0.d0,0.d0,0.d0,
566  m .7d0, -4.8d0, 3.0d0, 1.1d0, 0.d0,0.d0,0.d0,
567  n 1.7d0, -.7d0, -.7d0, 2.3d0, 0.d0,0.d0,0.d0,
568  o -2.6d0, 3.5d0, -.7d0, -3.6d0, 0.d0,0.d0,0.d0/
569 *
570  DATA dt19yb/.5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
571  a .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
572  b .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
573  c .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
574  d .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
575  e .7d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
576  f 1.7d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
577  g -2.6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
578  h .5d0, -.9d0, .3d0, 0.d0,0.d0,0.d0,0.d0,
579  i 4.0d0, -.9d0, -.3d0, 0.d0,0.d0,0.d0,0.d0,
580  j -.5d0, -.9d0, 1.5d0, 0.d0,0.d0,0.d0,0.d0,
581  k -1.5d0, -.9d0, -1.8d0, 0.d0,0.d0,0.d0,0.d0,
582  l .5d0, -.9d0, .3d0, .7d0, -.6d0, .2d0, .8d0,
583  m 3.7d0, -.9d0, -1.2d0, .7d0, -1.5d0, .2d0, 2.2d0,
584  n -.3d0, -.9d0, 2.1d0, .7d0, -1.6d0, .2d0, 2.0d0,
585  o -1.6d0, -.9d0, -2.1d0, .7d0, 2.9d0, .2d0, -3.8d0 /
586 *
587  DATA dt19yc/.5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
588  a .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
589  b .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
590  c .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
591  d .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
592  e .7d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
593  f 1.7d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
594  g -2.6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
595  h .5d0, -.9d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
596  i 4.0d0, -6.3d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
597  j -.5d0, .3d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
598  k -1.5d0, 3.0d0, 0.d0,0.d0,0.d0,0.d0,0.d0,
599  l .5d0, -.9d0, .3d0, .7d0, 0.d0,0.d0,0.d0,
600  m 3.7d0, -7.2d0, 3.0d0, 1.7d0, 0.d0,0.d0,0.d0,
601  n -.3d0, .9d0, -.7d0, 1.9d0, 0.d0,0.d0,0.d0,
602  o -1.6d0, 2.7d0, -.7d0, -3.4d0, 0.d0,0.d0,0.d0/
603 *
604  DATA dt19yd/.5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
605  a .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
606  b .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
607  c .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
608  d .5d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
609  e .7d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
610  f 1.7d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
611  g -2.6d0, 0.d0,0.d0,0.d0,0.d0,0.d0,0.d0,
612  h .5d0, -.9d0, .3d0, 0.d0,0.d0,0.d0,0.d0,
613  i .7d0, -.9d0, 1.2d0, 0.d0,0.d0,0.d0,0.d0,
614  j 1.7d0, -.9d0, .5d0, 0.d0,0.d0,0.d0,0.d0,
615  k -2.6d0, -.9d0, -1.3d0, 0.d0,0.d0,0.d0,0.d0,
616  l .5d0, -.9d0, .3d0, .7d0, -.6d0, .2d0, .8d0,
617  m .7d0, -.9d0, 1.2d0, .7d0, -1.5d0, .2d0, 1.6d0,
618  n 1.7d0, -.9d0, .5d0, .7d0, -1.6d0, .2d0, 2.4d0,
619  o -2.6d0, -.9d0, -1.3d0, .7d0, 2.9d0, .2d0, -4.0d0 /
620 *
621 * .. Executable Statements ..
622 *
623  DO 120 ki = 1, 4
624  incx = incxs(ki)
625  incy = incys(ki)
626  mx = abs(incx)
627  my = abs(incy)
628 *
629  DO 100 kn = 1, 4
630  n = ns(kn)
631  ksize = min(2,kn)
632  lenx = lens(kn,mx)
633  leny = lens(kn,my)
634 * .. Initialize all argument arrays ..
635  DO 20 i = 1, 7
636  sx(i) = dx1(i)
637  sy(i) = dy1(i)
638  20 CONTINUE
639 *
640  IF (icase.EQ.1) THEN
641 * .. DDOT ..
642  CALL stest1(ddot(n,sx,incx,sy,incy),dt7(kn,ki),ssize1(kn)
643  + ,sfac)
644  ELSE IF (icase.EQ.2) THEN
645 * .. DAXPY ..
646  CALL daxpy(n,sa,sx,incx,sy,incy)
647  DO 40 j = 1, leny
648  sty(j) = dt8(j,kn,ki)
649  40 CONTINUE
650  CALL stest(leny,sy,sty,ssize2(1,ksize),sfac)
651  ELSE IF (icase.EQ.5) THEN
652 * .. DCOPY ..
653  DO 60 i = 1, 7
654  sty(i) = dt10y(i,kn,ki)
655  60 CONTINUE
656  CALL dcopy(n,sx,incx,sy,incy)
657  CALL stest(leny,sy,sty,ssize2(1,1),1.0d0)
658  IF (ki.EQ.1) THEN
659  sx0(1) = 42.0d0
660  sy0(1) = 43.0d0
661  IF (n.EQ.0) THEN
662  sty0(1) = sy0(1)
663  ELSE
664  sty0(1) = sx0(1)
665  END IF
666  lincx = incx
667  incx = 0
668  lincy = incy
669  incy = 0
670  CALL dcopy(n,sx0,incx,sy0,incy)
671  CALL stest(1,sy0,sty0,ssize2(1,1),1.0d0)
672  incx = lincx
673  incy = lincy
674  END IF
675  ELSE IF (icase.EQ.6) THEN
676 * .. DSWAP ..
677  CALL dswap(n,sx,incx,sy,incy)
678  DO 80 i = 1, 7
679  stx(i) = dt10x(i,kn,ki)
680  sty(i) = dt10y(i,kn,ki)
681  80 CONTINUE
682  CALL stest(lenx,sx,stx,ssize2(1,1),1.0d0)
683  CALL stest(leny,sy,sty,ssize2(1,1),1.0d0)
684  ELSE IF (icase.EQ.12) THEN
685 * .. DROTM ..
686  kni=kn+4*(ki-1)
687  DO kpar=1,4
688  DO i=1,7
689  sx(i) = dx1(i)
690  sy(i) = dy1(i)
691  stx(i)= dt19x(i,kpar,kni)
692  sty(i)= dt19y(i,kpar,kni)
693  END DO
694 *
695  DO i=1,5
696  dtemp(i) = dpar(i,kpar)
697  END DO
698 *
699  DO i=1,lenx
700  ssize(i)=stx(i)
701  END DO
702 * SEE REMARK ABOVE ABOUT DT11X(1,2,7)
703 * AND DT11X(5,3,8).
704  IF ((kpar .EQ. 2) .AND. (kni .EQ. 7))
705  $ ssize(1) = 2.4d0
706  IF ((kpar .EQ. 3) .AND. (kni .EQ. 8))
707  $ ssize(5) = 1.8d0
708 *
709  CALL drotm(n,sx,incx,sy,incy,dtemp)
710  CALL stest(lenx,sx,stx,ssize,sfac)
711  CALL stest(leny,sy,sty,sty,sfac)
712  END DO
713  ELSE IF (icase.EQ.13) THEN
714 * .. DSDOT ..
715  CALL testdsdot(real(dsdot(n,real(sx),incx,real(sy),incy)),
716  $ real(dt7(kn,ki)),real(ssize1(kn)), .3125e-1)
717  ELSE
718  WRITE (nout,*) ' Shouldn''t be here in CHECK2'
719  stop
720  END IF
721  100 CONTINUE
722  120 CONTINUE
723  RETURN
724 *
725 * End of CHECK2
726 *
subroutine stest(LEN, SCOMP, STRUE, SSIZE, SFAC)
Definition: cblat1.f:609
subroutine stest1(SCOMP1, STRUE1, SSIZE, SFAC)
Definition: cblat1.f:668
subroutine testdsdot(SCOMP, STRUE, SSIZE, SFAC)
Definition: dblat1.f:997
subroutine drotm(N, DX, INCX, DY, INCY, DPARAM)
DROTM
Definition: drotm.f:96
subroutine dcopy(N, DX, INCX, DY, INCY)
DCOPY
Definition: dcopy.f:82
double precision function dsdot(N, SX, INCX, SY, INCY)
DSDOT
Definition: dsdot.f:119
double precision function ddot(N, DX, INCX, DY, INCY)
DDOT
Definition: ddot.f:82
subroutine daxpy(N, DA, DX, INCX, DY, INCY)
DAXPY
Definition: daxpy.f:89
subroutine dswap(N, DX, INCX, DY, INCY)
DSWAP
Definition: dswap.f:82
Here is the call graph for this function: