I've now implemented this idea: https://issues.apache.org/jira/browse/MATH-332
I haven't closed MATH-330 and MATH-331 because they can still be used if this MATH-332 is rejected. 2010/1/22 Ted Dunning <ted.dunn...@gmail.com>: > I think you mean double density(double x) > > I think that it makes a lot of sense. If necessary, something like > AbstractContinuousDistribution could implement a default that throws > UnimplementedOperationException. > > On Fri, Jan 22, 2010 at 11:20 AM, Mikkel Meyer Andersen <m...@mikl.dk>wrote: > >> 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. >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org