2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733 LOGICAL RESET
2734
2735 INTEGER I, IC, J, MI, MJ
2736
2737 SAVE i, ic, j, mi, mj
2738
2739 INTRINSIC dcmplx
2740
2741 IF( reset )THEN
2742
2743 mi = 891
2744 mj = 457
2745 i = 7
2746 j = 7
2747 ic = 0
2748 reset = .false.
2749 END IF
2750
2751
2752
2753
2754
2755
2756
2757
2758 ic = ic + 1
2759 10 i = i*mi
2760 j = j*mj
2761 i = i - 1000*( i/1000 )
2762 j = j - 1000*( j/1000 )
2763 IF( ic.GE.5 )THEN
2764 ic = 0
2765 GO TO 10
2766 END IF
2767 zbeg = dcmplx( ( i - 500 )/1001.0d0, ( j - 500 )/1001.0d0 )
2768 RETURN
2769
2770
2771
complex *16 function zbeg(reset)