You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles Sadowski (Jira)" <ji...@apache.org> on 2021/05/22 00:12:00 UTC
[jira] [Resolved] (MATH-1372) Add argmin/argmax static functions to
MathArrays utility class
[ https://issues.apache.org/jira/browse/MATH-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles Sadowski resolved MATH-1372.
-----------------------------------
Assignee: (was: Artem Barger)
Resolution: Feedback Received
> Add argmin/argmax static functions to MathArrays utility class
> --------------------------------------------------------------
>
> Key: MATH-1372
> URL: https://issues.apache.org/jira/browse/MATH-1372
> Project: Commons Math
> Issue Type: Wish
> Reporter: Artem Barger
> Priority: Trivial
> Attachments: MATH-1372.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Following conversation in the ML thread.
> Working lately w/ CM, I've found myself using a lot functions which helps to identify the index of the min/max elements in given array of doubles.
> In ML it was pointed out that similar functionality already exists in RealVector, however due to MATH-765 it's planned to be removed (deprecated), moreover to use it one has to create an instance of RealVector, where for simple cases it might be redundant.
> Hence I'd like to propose to add these static methods to the MathArrays utility class.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)