2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685 LOGICAL RESET
2686
2687 INTEGER I, IC, J, MI, MJ
2688
2689 SAVE i, ic, j, mi, mj
2690
2691 INTRINSIC cmplx
2692
2693 IF( reset )THEN
2694
2695 mi = 891
2696 mj = 457
2697 i = 7
2698 j = 7
2699 ic = 0
2700 reset = .false.
2701 END IF
2702
2703
2704
2705
2706
2707
2708
2709
2710 ic = ic + 1
2711 10 i = i*mi
2712 j = j*mj
2713 i = i - 1000*( i/1000 )
2714 j = j - 1000*( j/1000 )
2715 IF( ic.GE.5 )THEN
2716 ic = 0
2717 GO TO 10
2718 END IF
2719 cbeg = cmplx( ( i - 500 )/1001.0, ( j - 500 )/1001.0 )
2720 RETURN
2721
2722
2723
complex function cbeg(reset)