Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1087

private vars in MixtureMultivariateRealDistribution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.2
    • 3.3
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Borda Jirka Borovec
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.1h
                0.1h
                Remaining:
                Remaining Estimate - 0.1h
                0.1h
                Logged:
                Time Spent - Not Specified
                Not Specified