commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <>
Subject Re: [math] ArrayUtils.isAscending, isDescending
Date Fri, 09 Apr 2004 04:17:29 GMT
Brent Worden wrote:
>>-----Original Message-----
>>From: Phil Steitz []
>>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.
> 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).


> Brent Worden
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message