You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gilles Sadowski <gi...@harfang.homelinux.org> on 2011/03/16 14:01:04 UTC

[Math] MATH-545

Hello.

Cf. https://issues.apache.org/jira/browse/MATH-545
OK to introduce the "cosine" method?


Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [Math] MATH-545

Posted by Gilles Sadowski <gi...@harfang.homelinux.org>.
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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [Math] MATH-545

Posted by Phil Steitz <ph...@gmail.com>.
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?

Phil
> Luc
>
>>
>> Gilles
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [Math] MATH-545

Posted by Luc Maisonobe <Lu...@free.fr>.
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 ?

Luc

> 
> 
> Gilles
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org