You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/05/16 16:07:32 UTC

[jira] [Updated] (MATH-977) Add Halton sequence generator

     [ https://issues.apache.org/jira/browse/MATH-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart updated MATH-977:
---------------------------------

    Attachment: HaltonSequenceGenerator.java

Attached an implementation of a HaltonSequenceGenerator. The generator already comes with support for up to 40 dimensions (using the first 40 primes) and performs scrambling as described in the referenced dissertation, using the optimal weight values.

Subclasses may override the scrambling method, and users can also provide their own base/weight numbers to support larger dimensions.

CM already has a class SmallPrimes which contains the first 512 prime numbers, which could be reused here, but as the class is package private it is not accessible, TBD.
                
> Add Halton sequence generator
> -----------------------------
>
>                 Key: MATH-977
>                 URL: https://issues.apache.org/jira/browse/MATH-977
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Thomas Neidhart
>         Attachments: HaltonSequenceGenerator.java
>
>
> Another low-discrepancy sequence generator which is used by Monte-Carlo methods.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira