commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: [math] Scaling arrays
Date Sun, 10 Mar 2013 19:18:35 GMT
On 3/8/13 12:14 PM, Becksfort, Jared wrote:
> Hello,
>
> I may be missing it somewhere, but I am surprised there is no function for scaling arrays
in MathArrays.java or somewhere else.
>
> -          Am I stupidly missing it?

Probably not.  Closest thing is probably normalize in MathArrays.
>
> -          Is there a reason it is not in there?

Probably no; though you will find that most vector / array algebraic
operations are implemented on the objects in the linear package,
rather than directly on double[]s.
>
> -          Shall I add it?

What exactly *is* it and what are the use cases?

Phil
>
> Thanks,
> Jared
>
> ________________________________
> Email Disclaimer: www.stjude.org/emaildisclaimer
> Consultation Disclaimer: www.stjude.org/consultationdisclaimer
>


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


Mime
View raw message