[ 
https://issues.apache.org/jira/browse/MATH-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luc Maisonobe resolved MATH-334.
--------------------------------

    Resolution: Fixed

Fixed in subversion repository as of r904231.
Four methods have been added: getMinIndex, getMinValue, getMaxIndex and 
getMaxValue. Specila cases handled are zero length vectors and vectors with 
only NaNs. When both NaNs and regular values are present, min and max are 
computed on regular values only.

For compatibility reasons, these methods have been put in the topmost abstract 
class but not in the interface yet. It could be pushed to the interface when 
next major version will be released.


> RealVector (or ArrayRealVector): support min and max element
> ------------------------------------------------------------
>
>                 Key: MATH-334
>                 URL: https://issues.apache.org/jira/browse/MATH-334
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Mikkel Meyer Andersen
>            Priority: Trivial
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> It would be great to be able to get the minimum and maximum element in a 
> RealVector, or just in ArrayRealVector.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to