-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iterator interface #8
Comments
In this case, the iterator is the state; it's not so easy to separate the two. Iterating twice on the same sobolseq object will given different numbers.
|
Oh, looks like I need to define |
Seems like I got bit by JuliaLang/julia#15977. |
(Note that the |
If supporting
|
Thanks for this great library, I find it very useful. However, I am not sure that the library supports the iteration interface of Julia. Eg
Sobol.SobolSeq
returns not an iterator, but an iterator and a state. So, for example,returns the first 10 elements (instead of the first 5, twice). Cf, for example,
Also, idioms like
don't work.
The text was updated successfully, but these errors were encountered: