On Mon, Mar 2, 2009 at 2:07 PM, Ryan Hinton <iob...@email.com> wrote: > > Here's the quick story. I'm working on a pseudo-random number > generator, and I'm open to suggestions on where to put the resulting > file(s). I am more interested in the theory for finding new generators > than in making this generator available for general use -- unless > someone else has an application for it. > > Now the slightly longer story. I'm working on a hardware design that > includes random number generator. The most interesting PRNG family I've > found are the WELL generators [1]. However, all the examples in the > paper generate 32-bit values. I need more than 32 bits per cycle. > Since custom hardware isn't limited to 32-bit word widths, it will be > more efficient to derive a single wide (e.g. 72-bit) generator than to > use several smaller generators. So I'm trying to implement a search > algorithm similar to [1] for arbitrary word widths. Since the theory is > based on matrices and polynomials over GF(2), Sage seems a good choice. > But I need a place to put my file(s)!
I do not understand the question. Do you plan to submit the code you write for inclusion in Sage? One possible answer to your question is SAGE_ROOT/devel/sage/sage/tests For example, that's where I put the code that is in my books, and some people who write papers put the code from their papers there. Then it gets tested automatically in the future. William > > Thanks! > > [1] ``Improved Long-Period Generators Based on Linear Recurrences Modulo > 2'', ACM Transactions on Mathematical Software, 32, 1 (2006), 1-16. > > --- > Ryan Hinton > PhD candidate, Electrical and Computer Engineering > University of Virginia > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---