commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject [Math] About MATH-1345
Date Sat, 26 Mar 2016 02:21:30 GMT
Hi.

Referring to
   https://issues.apache.org/jira/browse/MATH-1345

I propose the following changes:
1. Make default values "private" (rationale: it's an implementation 
detail).
2. Add a new instance variable in "AbstractRealDistribution" for 
holding
    the solver accuracy (which is currently accessed through a 
"protected"
    accessor, "getSolverAbsoluteAccuracy()", that returns the value of
    "solverAbsoluteAccuracy" field defined in each subclass)
    This field is to be initialized at construction ("final").
3. When a subclass overrides the "inverseCumulativeProbability" method,
    the base class's solver is not used; in such case the subclass's
    constructor will pass "NaN" for the solver's accuracy.
4. Make "getSolverAbsoluteAccuracy()" method "public".

Objections?


Regards,
Gilles


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message