Skip to content

Commit

Permalink
Fixed some links in in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
morinim committed Feb 21, 2018
1 parent e1e82ee commit 52f4f1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
A simple [`UniformRandomBitGenerator`](http://en.cppreference.com/w/cpp/concept/UniformRandomBitGenerator) wrapper for the [xoroshiro128+](http://xoroshiro.di.unimi.it/) PRNG.

Features
## Features

- Compatible with the C++11 `<random>` library.
The engine can be plugged into any random number distribution ([`http://en.cppreference.com/w/cpp/concept/RandomNumberDistributionin`](http://en.cppreference.com/w/cpp/concept/RandomNumberDistribution)) in order to obtain a random number.

Any uniform random bit generator (`UniformRandomBitGenerator`) may be plugged into any random number distribution in order to obtain a random number.

- Directly derived from the [public-domain C implementations](http://xoroshiro.di.unimi.it).
- Directly derived from the [public-domain C implementations](http://xoroshiro.di.unimi.it/xoroshiro128plus.c).

## Usage

Expand Down Expand Up @@ -52,6 +51,8 @@ and the output is something like:
10 *********
```

([source code](https://github.com/morinim/xoroshiro128p/blob/master/example.cc))

## Remarks

- The implementation is only partially a C++11 [`RandomNumberEngine`](http://en.cppreference.com/w/cpp/concept/RandomNumberEngine) missing:
Expand Down
11 changes: 0 additions & 11 deletions example.cc
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
/**
* \file
*
* \copyright Copyright (C) 2018 Manlio Morini.
*
* \license
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/
*/

#include <iomanip>
#include <map>

Expand Down

0 comments on commit 52f4f1b

Please sign in to comment.