Luc,
I would rather have them in a utility class (either MathUtils as
suggested or in MatrixUtils) than in ArrayRealVector which is not
devoted to provide utilities. ArrayRealVector can delegate its
computation to MathUtils/MatrixUtils since it has acces to its own
internal data and can provide
Le 11/08/2010 16:49, Gilles Sadowski a écrit :
>> [...]
>>
>> It also appears that the Cartesian norm of a vector (in AbstractRealVector,
>> in AbstractLeastSquares, ...) does not care at all about overflow or
>> underflow. I thus translated enorm.f (minpack) into Java. My initial
>> intend was t
Le 11/08/2010 16:00, Dimitri Pourbaix a écrit :
> Hi,
>
> While fixing MATH-405, I noticed that some unit tests were failing with
> the corrected version! Obviously, some results against which those tests
> are competing were obtained ... with the bugged code. The usefulness of
> such tests is t
> [...]
>
> It also appears that the Cartesian norm of a vector (in AbstractRealVector,
> in AbstractLeastSquares, ...) does not care at all about overflow or
> underflow. I thus translated enorm.f (minpack) into Java. My initial
> intend was to put in AbstractLeastSquares but it might be more u
Hi,
While fixing MATH-405, I noticed that some unit tests were failing with
the corrected version! Obviously, some results against which those tests
are competing were obtained ... with the bugged code. The usefulness of
such tests is therefore pretty limited.
It also appears that the Cartesia