| ²é¿´: 169 | »Ø¸´: 0 | |||
| µ±Ç°Ö÷ÌâÒѾ´æµµ¡£ | |||
[½»Á÷]
Ëæ»úÊý·¢ÉúÆ÷£¨Fortran77±àдµÄ£¬²âÊÔ¿ÉÓã©
|
|||
|
real function ranw(idum) Parameter (Mbig=2**30-2, Xinvers=1./Mbig) data ibit/ 1/ Integer IX(55) save if (ibit.ne.0) then ibit=0 cc cc fill up the vector ix with some random integers, which are cc not all even cc if (idum.eq.0) pause 'use nonzero value of idum' idum=abs(mod(idum,Mbig)) ibit=0 Ix(1)=871871 Do i=2,55 Ix(i)=mod(Ix(i-1)+idum,Ix(i-1)) Ix(i)=max(mod(Ix(i),Mbig),idum) end do j=24 k=55 cc cc warm up the generator cc do i=1,1258 Ix(k)=mod(Ix(k)+Ix(j),Mbig) j=j-1 if (j.eq.0) j=55 k=k-1 if (k.eq.0) k=55 end do end if cc cc this is where execution usually starts: cc Ix(k)=mod(Ix(k)+Ix(j),Mbig) j=j-1 if (j.eq.0) j=55 k=k-1 if (k.eq.0) k=55 ranw=Ix(k)*Xinvers end |
» ²ÂÄãϲ»¶
299Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
Ò»Ö¾Ô¸±±¾©Àí¹¤´óѧ±¾¿Æ211²ÄÁϹ¤³Ì294Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
300Çóµ÷¼Á£¬²ÄÁÏ¿ÆÑ§Ó¢Ò»Êý¶þ
ÒѾÓÐ8È˻ظ´
ÕÐÊÕÉúÎïѧ/ϸ°ûÉúÎïѧµ÷¼Á
ÒѾÓÐ5È˻ظ´
070305¸ß·Ö×Ó»¯Ñ§ÓëÎïÀí 304·ÖÇóµ÷¼Á
ÒѾÓÐ7È˻ظ´
289Çóµ÷¼Á
ÒѾÓÐ13È˻ظ´
Ò»Ö¾Ô¸¹þ¶û±õ¹¤Òµ´óѧ²ÄÁÏÓ뻯¹¤·½Ïò336·Ö
ÒѾÓÐ9È˻ظ´
081200-11408-276ѧ˶Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
µ÷¼ÁÇóԺУÕÐÊÕ
ÒѾÓÐ5È˻ظ´
µ÷¼Á310
ÒѾÓÐ8È˻ظ´














»Ø¸´´ËÂ¥