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