-
```rust
fn from_seed(seed: Self::Seed) -> Self; // Result ?
```
For:
* Some PRNGs cannot use certain seeds (e.g. Xorshift with 0); this gives a proper way of handling the issue
Agains…
-
I have made a [PR to Rand](https://github.com/rust-lang-nursery/rand/pull/399) to add support for Rayon. It is very much in the 'just exploring' phase. It would be great if someone who is more familia…
-
**Disclaimer**: I cannot speak to whether this approach is valid/generalizes to more general jumps. The discussion that follows is predicated on pure Markov jump processes (and therefore applies to `C…
-
Codelite 12.0.0, win7 sp1 x64, non-self-compiled.
Try pasting the following code into a window and scrolling down towards the bottom by holding the vertical slider and moving it. Around line ~1325 …
-
**Update again:**
```rust
pub trait SeedRestriction: private::Sealed + Default + AsMut {}
pub trait SeedableRng: Sized {
type Seed: SeedRestriction;
fn from_seed(seed: Self::Seed) -> …
-
In JavaScript, we could have 52 bits of randomness stored in numbers. But it seems [random.fraction](https://github.com/meteor/meteor/blob/devel/packages/random/random.js#L144) uses only 32 bits. Ther…
mitar updated
7 years ago
-
Mersenne Twister is a good PRNG, but it have some minor issues (easily predictable, large state-space, fails some statistical tests). There are relatively new algorithms that don't have such issues an…
-
Do we need to have a shuffle procedure in a TGenericStructList and similar? I'm speaking of http://forum.lazarus.freepascal.org/index.php/topic,34882.msg229682.html#msg229682 . Never needed anything l…
-
**Reported by otter on 19 Feb 2015 11:25 UTC**
The Modelica_Noise library from DLR-SR is available under:
https://github.com/DLR-SR/Noise/tree/MSL
Click on the right side on "Download zip" to get the…
-
SemiVirtualStochasticLawsonsWalk uses Random.
Is it possible to replace it with ThreadLocalRandom to improve performance?