Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.05 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.05 KB

D Random Generators

This is a repository that contains some D ranges. Some of them are random number generators.

What is this repository for?

  • Forking and implementing the isRandomGenerator() function
  • Improve your algorithmic thinking

Learn more about D programming language

How do I get set up?

  • Install a D compiler
  • Install Dub
  • Add "versions": [ "advanced" ] to dub.json for a bigger challenge
  • Implement isRandomGenerator() function
  • Run dub test

It contains

Random lists

  • generated by the Phobos uniform function
  • of 0 and 1
  • generated using uniform distribution
  • generated using normal distribution advanced

Non-random lists

  • A list of ascending numbers
  • A list of constant values
  • A list of descending numbers
  • A random list which contains lists of constants advanced
  • A random list of repeating random numbers advanced

Contribution guidelines

  • Join the workshop
  • Write more random generators