schmouk / pyrandlib Goto Github PK
View Code? Open in Web Editor NEWMany best in class pseudo random generators grouped into one simple library.
License: MIT License
Many best in class pseudo random generators grouped into one simple library.
License: MIT License
Prepare new release with new copyright dates (2019).
It appears that very first initialization of LFibs and MRGs is not fully correct. Let's fix this according to the content of this chapter : L’Ecuyer, P., Panneton, F. (2009). F2-Linear Random Number Generators. In: Alexopoulos, C., Goldsman, D., Wilson, J. (eds) Advancing the Frontiers of Simulation. International Series in Operations Research & Management Science, vol 133. Springer, Boston, MA. https://doi.org/10.1007/b110059_9
Let's write the whole readme documentation.
Let's implement two LCGs, 32-bits and 64-bits. Documentation is mandatory.
Let's optimize code when possible (using comprehensions and the like, enhancing comments, normalizing docstrings, etc.)
The selected PRNG should help creating indépendant multi streams, which will be of great help for parallelized simulations.
Let's implement four LFibs. Documentation is mandatory.
Let's implement three MRGs. Documentation is mandatory.
On calls applied to a PRG variable with arguments, let's take benefit of the types of the arguments to return a value of same type.
Furthermore, let's return generators or lists under some circumstances, i.e. when many arguments are provided or when a named argument 'times' (integer) is specifically added at end of args list.
Let's implement the base class for every other PRGs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.