You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2012/10/18 21:58:03 UTC
[jira] [Created] (MATH-881) Eliminate meaningless properties in
multivariate distribution classes
Phil Steitz created MATH-881:
--------------------------------
Summary: Eliminate meaningless properties in multivariate distribution classes
Key: MATH-881
URL: https://issues.apache.org/jira/browse/MATH-881
Project: Commons Math
Issue Type: Bug
Affects Versions: 3.0
Reporter: Phil Steitz
Fix For: 3.1, 4.0
The MultivariateRealDistribution interface includes the following properties which make no sense for multivariate distributions:
getSupportLowerBound, getSupporUpperBound, isSupportLowerBoundInclusive, isSupportUpperBoundInclusive
In addition, the following property makes sense, but is unlikely to be useful:
isSuportConnected
All of these properties should be deprecated in 3.1 and dropped in 4.0
--
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
[jira] [Commented] (MATH-881) Eliminate meaningless properties in
multivariate distribution classes
Posted by "Gilles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479389#comment-13479389 ]
Gilles commented on MATH-881:
-----------------------------
Shall I also remove this method:
{code}
/**
* For a random variable {@code X} whose values are distributed according to
* this distribution, this method returns {@code P(X = x)}. In other words,
* this method represents the probability mass function (PMF) for the
* distribution.
*
* @param x Point at which the PMF is evaluated.
* @return the value of the probability mass function at point {@code x}.
*/
double probability(double[] x);
{code}
?
We already discussed that all the (currently implemented) {{RealDistribution}} classes return zero. I guess that is is even less likely that an exotic {{MultivariateRealDistribution}} will soon be implemented...
> Eliminate meaningless properties in multivariate distribution classes
> ---------------------------------------------------------------------
>
> Key: MATH-881
> URL: https://issues.apache.org/jira/browse/MATH-881
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Phil Steitz
> Fix For: 3.1, 4.0
>
>
> The MultivariateRealDistribution interface includes the following properties which make no sense for multivariate distributions:
> getSupportLowerBound, getSupporUpperBound, isSupportLowerBoundInclusive, isSupportUpperBoundInclusive
> In addition, the following property makes sense, but is unlikely to be useful:
> isSuportConnected
> All of these properties should be deprecated in 3.1 and dropped in 4.0
--
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
[jira] [Commented] (MATH-881) Eliminate meaningless properties in
multivariate distribution classes
Posted by "Gilles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479910#comment-13479910 ]
Gilles commented on MATH-881:
-----------------------------
bq. [...] nuke the pmf method.
Removed in revision 1400010.
> Eliminate meaningless properties in multivariate distribution classes
> ---------------------------------------------------------------------
>
> Key: MATH-881
> URL: https://issues.apache.org/jira/browse/MATH-881
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Phil Steitz
> Fix For: 3.1, 4.0
>
>
> The MultivariateRealDistribution interface includes the following properties which make no sense for multivariate distributions:
> getSupportLowerBound, getSupporUpperBound, isSupportLowerBoundInclusive, isSupportUpperBoundInclusive
> In addition, the following property makes sense, but is unlikely to be useful:
> isSuportConnected
> All of these properties should be deprecated in 3.1 and dropped in 4.0
--
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
[jira] [Commented] (MATH-881) Eliminate meaningless properties in
multivariate distribution classes
Posted by "Gilles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479356#comment-13479356 ]
Gilles commented on MATH-881:
-----------------------------
bq. All of these properties should be deprecated in 3.1 and dropped in 4.0
This interface and implementing classes are post 3.0.
No need to wait for 4.0 to clean up. :)
> Eliminate meaningless properties in multivariate distribution classes
> ---------------------------------------------------------------------
>
> Key: MATH-881
> URL: https://issues.apache.org/jira/browse/MATH-881
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Phil Steitz
> Fix For: 3.1, 4.0
>
>
> The MultivariateRealDistribution interface includes the following properties which make no sense for multivariate distributions:
> getSupportLowerBound, getSupporUpperBound, isSupportLowerBoundInclusive, isSupportUpperBoundInclusive
> In addition, the following property makes sense, but is unlikely to be useful:
> isSuportConnected
> All of these properties should be deprecated in 3.1 and dropped in 4.0
--
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
[jira] [Commented] (MATH-881) Eliminate meaningless properties in
multivariate distribution classes
Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479468#comment-13479468 ]
Phil Steitz commented on MATH-881:
----------------------------------
Sweet! I did not realize this was post-3.0 stuff. Yes, I would also nuke the pmf method.
> Eliminate meaningless properties in multivariate distribution classes
> ---------------------------------------------------------------------
>
> Key: MATH-881
> URL: https://issues.apache.org/jira/browse/MATH-881
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Phil Steitz
> Fix For: 3.1, 4.0
>
>
> The MultivariateRealDistribution interface includes the following properties which make no sense for multivariate distributions:
> getSupportLowerBound, getSupporUpperBound, isSupportLowerBoundInclusive, isSupportUpperBoundInclusive
> In addition, the following property makes sense, but is unlikely to be useful:
> isSuportConnected
> All of these properties should be deprecated in 3.1 and dropped in 4.0
--
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
[jira] [Commented] (MATH-881) Eliminate meaningless properties in
multivariate distribution classes
Posted by "Gilles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479380#comment-13479380 ]
Gilles commented on MATH-881:
-----------------------------
All above methods removed in revision 1399864.
> Eliminate meaningless properties in multivariate distribution classes
> ---------------------------------------------------------------------
>
> Key: MATH-881
> URL: https://issues.apache.org/jira/browse/MATH-881
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Phil Steitz
> Fix For: 3.1, 4.0
>
>
> The MultivariateRealDistribution interface includes the following properties which make no sense for multivariate distributions:
> getSupportLowerBound, getSupporUpperBound, isSupportLowerBoundInclusive, isSupportUpperBoundInclusive
> In addition, the following property makes sense, but is unlikely to be useful:
> isSuportConnected
> All of these properties should be deprecated in 3.1 and dropped in 4.0
--
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
[jira] [Resolved] (MATH-881) Eliminate meaningless properties in
multivariate distribution classes
Posted by "Gilles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles resolved MATH-881.
-------------------------
Resolution: Fixed
Fix Version/s: (was: 4.0)
> Eliminate meaningless properties in multivariate distribution classes
> ---------------------------------------------------------------------
>
> Key: MATH-881
> URL: https://issues.apache.org/jira/browse/MATH-881
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Phil Steitz
> Fix For: 3.1
>
>
> The MultivariateRealDistribution interface includes the following properties which make no sense for multivariate distributions:
> getSupportLowerBound, getSupporUpperBound, isSupportLowerBoundInclusive, isSupportUpperBoundInclusive
> In addition, the following property makes sense, but is unlikely to be useful:
> isSuportConnected
> All of these properties should be deprecated in 3.1 and dropped in 4.0
--
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