Thomas Neidhart created MATH-980:
------------------------------------

             Summary: Let the VectorXD classes in the geometry package 
implement Clusterable
                 Key: MATH-980
                 URL: https://issues.apache.org/jira/browse/MATH-980
             Project: Commons Math
          Issue Type: Improvement
            Reporter: Thomas Neidhart
            Priority: Minor


It would be quite convenient if the Vector1D, Vector2D and Vector3D classes 
could be used directly by the clustering algorithms. The updated Clusterable 
interface now only requires one method:

 * double[] getPoint()

which is already supported by these classes: toArray()

We could let them implement the Clusterable interface by simply delegating the 
call to getPoint() to toArray().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to