[Python-checkins] python/nondist/sandbox/twister librandom.tex,1.3,1.4 random.py,1.7,1.8

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Sat, 28 Dec 2002 17:36:00 -0800


Update of /cvsroot/python/python/nondist/sandbox/twister
In directory sc8-pr-cvs1:/tmp/cvs-serv30515

Modified Files:
	librandom.tex random.py 
Log Message:
Fix typo.  Expand comments.  Re-order init code to minimize the diff
from the original random.py


Index: librandom.tex
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/twister/librandom.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** librandom.tex	29 Dec 2002 00:52:21 -0000	1.3
--- librandom.tex	29 Dec 2002 01:35:57 -0000	1.4
***************
*** 92,96 ****
    \versionadded{2.1}
    \versionchanged[Instead of jumping to a specific state, \var{n} steps
!   ahead, \method{jumpahead(\var{n}) jumps another state likely to be
    separated by many steps.]{2.3}
   \end{funcdesc}
--- 92,96 ----
    \versionadded{2.1}
    \versionchanged[Instead of jumping to a specific state, \var{n} steps
!   ahead, \method{jumpahead(\var{n}) jumps to another state likely to be
    separated by many steps.]{2.3}
   \end{funcdesc}

Index: random.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/twister/random.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** random.py	24 Dec 2002 05:13:41 -0000	1.7
--- random.py	29 Dec 2002 01:35:57 -0000	1.8
***************
*** 19,22 ****
--- 19,24 ----
             gamma
             beta
+            pareto
+            Weibull
  
      distributions on the circle (angles 0 to 2pi)
***************
*** 81,86 ****
          Optional argument x controls seeding, as for Random.seed().
          """
!         self.gauss_next = None
          self.seed(x)
  
      def getstate(self):
--- 83,89 ----
          Optional argument x controls seeding, as for Random.seed().
          """
!         
          self.seed(x)
+         self.gauss_next = None
  
      def getstate(self):