[
https://issues.apache.org/jira/browse/MATH-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles updated MATH-1319:
-------------------------
Description:
It is proposed to refactor the whole package in order to fix the various
problems mentioned in recent issues and discussions
concerning the random number generators.
For background, please refer to the separate reports on the issue tracking
system, and on the "dev" ML.
The main goals are:
# Make it clear that implementations do not generate an arbitrary number of
bits (at the request of the user); but rather as fixed size chunks (i.e. 32
bits, a.k.a. Java "int" type).
# Allow implementations that generate 64 bits chunks (a.k.a. Java "long" type).
# Separate the generation of sequences (for all Java primitive types) that are
uniformly distributed (in the range of the corresponding type) from all further
processing (e.g. required to match other distributions).
was:
It is proposed to refactor the whole package in order to fix the various
problems mentioned in recent issues and discussions
concerning the random number generators.
For background, please refer to the separate reports on the issue tracking
system, and on the "dev" ML.
The main goals are:
# Make it clear that implementations do not generate an arbitrary number of
bits (at the request of the user); but rather as fixed size chunks (i.e. 32
bits, a.k.a. Java "int" type).
# Allow implementations that generate 64 bits chunks (a.k.a. Java "long" type.
# Separate the generation of sequences (for all Java primitive types) that are
uniformly distributed (in the range of the corresponding type) from all further
processing (e.g. required to match other distributions).
> Refactor the package "o.a.c.m.random"
> -------------------------------------
>
> Key: MATH-1319
> URL: https://issues.apache.org/jira/browse/MATH-1319
> Project: Commons Math
> Issue Type: Improvement
> Reporter: Gilles
> Assignee: Gilles
> Labels: api, refactoring
> Fix For: 4.0
>
>
> It is proposed to refactor the whole package in order to fix the various
> problems mentioned in recent issues and discussions
> concerning the random number generators.
> For background, please refer to the separate reports on the issue tracking
> system, and on the "dev" ML.
> The main goals are:
> # Make it clear that implementations do not generate an arbitrary number of
> bits (at the request of the user); but rather as fixed size chunks (i.e. 32
> bits, a.k.a. Java "int" type).
> # Allow implementations that generate 64 bits chunks (a.k.a. Java "long"
> type).
> # Separate the generation of sequences (for all Java primitive types) that
> are uniformly distributed (in the range of the corresponding type) from all
> further processing (e.g. required to match other distributions).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)