JuliaMath / JuliaMath/MeasureTheory.jl

Representing random sequences

Open
#65 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
401
Forks
31
PR merge metrics
No merged PRs in 30d

Description

Say you call `rand` on a stochastic sequence. It might be infinite, so you can't just call `rand` all the way down. But if you leave it as a thunk, you lose reproducibility.

The best way I can think of to get around this gracefully is to have a new struct to hold the instantiation. Something like

```julia
struct SequenceSample{R, S}
rng::R
seq::S
end
```

Also, iterator types get a little funny. One possibility is to mostly organize around `Base.Generator`. But there are lots of details for all of this, and I think it could get tricky.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.