#3231: Use the randgen framework to set the seeds for controlled Magma, 
Singular,
etc. sessions
-------------------------------------+-------------------------------------
       Reporter:  malb               |        Owner:  cwitty
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.4
      Component:  interfaces         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Travis Scholl      |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/tscholl2/seeds_3231              |  3f8533ac115e5a446b2df92271eb6feb5b643efa
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by tscholl2):

 I added a `set_seed` function on a lot of the interfaces such as gap, gp,
 magma, maxima, R, and singular. This allows setting the seed for the
 corresponding random number generator.

 This made solving the ticket very easy by just calling "set_seed" when the
 interface is started with `_start`.

 I think someone should rewrite the `randstate` class to use these methods
 if possible. However that would require someone with more cython
 knowledge.

 Also `set_seed` still needs to be implemented on a few more interfaces,
 but those are not free so they are not as easy to test with.

--
Ticket URL: <http://trac.sagemath.org/ticket/3231#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to