Gilles Sadowski created MATH-1616:
-------------------------------------
Summary: Refactor "EmpiricalDistribution" class
Key: MATH-1616
URL: https://issues.apache.org/jira/browse/MATH-1616
Project: Commons Math
Issue Type: Improvement
Affects Versions: 3.6.1
Reporter: Gilles Sadowski
Fix For: 4.0
[API|https://gitbox.apache.org/repos/asf?p=commons-math.git;a=blob;f=commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EmpiricalDistribution.java;h=65e580883c5e7c755bb9b4ec028fc048b66a24cc;hb=HEAD]
is error-prone.
An example of this is described in MATH-1462.
It is proposed that the class be immutable, ensuring that the user's attention
is focused on providing consistent input at construction.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)