3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345 LOGICAL RESET
3346
3347 INTEGER I, IC, J, MI, MJ
3348
3349 SAVE i, ic, j, mi, mj
3350
3351 INTRINSIC cmplx
3352
3353 IF( reset )THEN
3354
3355 mi = 891
3356 mj = 457
3357 i = 7
3358 j = 7
3359 ic = 0
3360 reset = .false.
3361 END IF
3362
3363
3364
3365
3366
3367
3368
3369
3370 ic = ic + 1
3371 10 i = i*mi
3372 j = j*mj
3373 i = i - 1000*( i/1000 )
3374 j = j - 1000*( j/1000 )
3375 IF( ic.GE.5 )THEN
3376 ic = 0
3377 GO TO 10
3378 END IF
3379 cbeg = cmplx( ( i - 500 )/1001.0, ( j - 500 )/1001.0 )
3380 RETURN
3381
3382
3383
complex function cbeg(reset)