#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 think this ticket is fine because it's still a step in the right
direction. In my mind the best framework would be for every interface to
have a `set_seed` function like these. Then `randstate` would have methods
that take in an instance of an interface and set it's seed using that
method. Right now there is no control over multiple instances of
interfaces, which it seems like there could/should be, and it might even
simplify some of the `randstate` code.
Also `randstate` would still set seeds for non-interfaces such as
libraries like `libc` and `python.random` (or wrap the random calls as it
does). All of the `set_seed` methods I wrote default to
`interface.rand_seed` on startup which uses `randstate`, so I think this
fit the description of this ticket.
I think the next ticket should be specifically about `randstate` and be
dependent on this one. I am worried repurposing this ticket to do both
might be a bit much. Or did you have something else in mind?
--
Ticket URL: <http://trac.sagemath.org/ticket/3231#comment:12>
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.