commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jirka Borovec (JIRA)" <>
Subject [jira] [Created] (MATH-1087) private vars in MixtureMultivariateRealDistribution
Date Mon, 13 Jan 2014 16:46:54 GMT
Jirka Borovec created MATH-1087:

             Summary: private vars in MixtureMultivariateRealDistribution
                 Key: MATH-1087
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.2
            Reporter: Jirka Borovec
             Fix For: 3.3

May I have question why the variables
    private final double[] weight;
    private final List<T> distribution;
in MixtureMultivariateRealDistribution are private not only protected. I wanted to extend
this class for some other distributions but after inheriting they are not accessible so difficult
to handle. Even I cannot save the list anywhere else  in child because in constructor and
also in the getter it creates a new list with these components.

This message was sent by Atlassian JIRA

View raw message