[
https://issues.apache.org/jira/browse/MATH-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14180464#comment-14180464
]
Otmar Ertl commented on MATH-1158:
----------------------------------
I like your proposal. I think there is much more to deprecate. Since you
deprecated all methods that use the RandomGenerator instance, it would be
consequent to also deprecate all the constructors of all RealDistribution
implementations that accept a RandomGenerator instance. Why not separating the
sampling functionality for IntegerDistribution too?
> Factory method to provide sampling from distributions
> -----------------------------------------------------
>
> Key: MATH-1158
> URL: https://issues.apache.org/jira/browse/MATH-1158
> Project: Commons Math
> Issue Type: New Feature
> Affects Versions: 3.3
> Reporter: Gilles
> Priority: Minor
> Labels: API, deprecation
> Fix For: 3.4
>
> Attachments: MATH-1158.patch
>
>
> A proposal to separate the sampling functionality from the core of the
> distribution classes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)