On Wed, Mar 16, 2011 at 07:34:20AM -0700, Phil Steitz wrote: > On 3/16/11 6:07 AM, Luc Maisonobe wrote: > > Le 16/03/2011 14:01, Gilles Sadowski a écrit : > >> Hello. > >> > >> Cf. https://issues.apache.org/jira/browse/MATH-545 > >> OK to introduce the "cosine" method? > > The method is useful, but should it be a static method in MathUtils > > with two array parameters or a non-static method in RealVector with a > > vector parameter ? > +1 to add. I guess it should go in RealVector. What do you think, > Gilles?
I think so too. [Similarly to the 2 "dotProduct" methods.] [Otherwise we could have tons of utility functions in "MathUtils" which is already quite large.] Regards, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org