Re: [Math] "getDimensions" in MultivariateRealDistribution interface

2012-10-19 Thread Sébastien Brisard
Hi, 2012/10/19 Phil Steitz : > On 10/18/12 3:20 PM, Gilles Sadowski wrote: >> Hello. >> >> There is a "getDimensions" method in "AbstractMultivariateRealDistribution" >> that returns the number of variables. >> It would be useful to have this method declared in the interface too. > +1 > > I might

Re: [Math] "getDimensions" in MultivariateRealDistribution interface

2012-10-18 Thread Phil Steitz
On 10/18/12 3:20 PM, Gilles Sadowski wrote: > Hello. > > There is a "getDimensions" method in "AbstractMultivariateRealDistribution" > that returns the number of variables. > It would be useful to have this method declared in the interface too. +1 I might slightly favor "getDimension" as the name,

[Math] "getDimensions" in MultivariateRealDistribution interface

2012-10-18 Thread Gilles Sadowski
Hello. There is a "getDimensions" method in "AbstractMultivariateRealDistribution" that returns the number of variables. It would be useful to have this method declared in the interface too. [In particular, this would allow the mixture model generic class (cf. MATH-816) to be defined in terms of t