commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-1264) ANN: add "sort" method in "MapUtils"
Date Tue, 01 Sep 2015 12:03:46 GMT
Gilles created MATH-1264:
----------------------------

             Summary: ANN: add "sort" method in "MapUtils"
                 Key: MATH-1264
                 URL: https://issues.apache.org/jira/browse/MATH-1264
             Project: Commons Math
          Issue Type: Wish
            Reporter: Gilles
            Assignee: Gilles
            Priority: Minor
             Fix For: 4.0, 3.6


Add a method
{code}
public static Neuron[] sort(double[] features,
                            Iterable<Neuron> neurons,
                            DistanceMeasure distance) { /* ... */ }
{code}
that returns the neurons sorted in increasing order of their distance (in data space) to the
given features.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message