commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <p...@steitz.com>
Subject Re: [math] ArrayUtils.isAscending, isDescending
Date Fri, 09 Apr 2004 04:17:29 GMT
Brent Worden wrote:
>>-----Original Message-----
>>From: Phil Steitz [mailto:phil@steitz.com]
>>Sent: Friday, April 02, 2004 9:15 PM
>>To: Jakarta Commons Developers List
>>Subject: Re: [lang] ArrayUtils.isAscending, isDescending
>>
>>Any ideas where this should go in [math]?  The application is in testing
>>that the knot points passed to SplineInterpolator.interpolate(-,-) and to
>>PolynomialSplineFunction constructor form a partition.  Sorting to fix
>>would be a bad idea, since you would have to parallel sort the y
>>values or
>>polynomial function arrays, resp.
>>
>>Phil
>>
> 
> 
> I have no problem with it going into MathUtils.  Or we could create our own
> ArrayUtils that supplements the one found in [lang].

I have been thinking about the second option, adding things like vector 
dot products, distance between two vectors, vector norms, etc. (some of 
which we use in tests, now).

Phil

> 
> Brent Worden
> http://www.brent.worden.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 




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


Mime
View raw message