Dear Community. I've just been going through all the continuous distributions in the MATH-library to check which implemented the HasDensity<P>-interface.
Only the F-distribution, t-distribution, Weibull distribution, and Cauchy distribution didn't implement it, and with MATH-330 (https://issues.apache.org/jira/browse/MATH-330 - patch for the F-distribution) and MATH-331 (https://issues.apache.org/jira/browse/MATH-331 - patches for the rest) both made by me that should now be corrected. This means that now every continuous distribution implements HasDensity<Double>. Wouldn't it then be a good idea to put a double density(Double x)-method in the ContinuousDistribution-interface? It would give a lot of advantages, e.g. in regards to dynamic dispatching. What do you think? Cheers, Mikkel. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org