[
https://issues.apache.org/jira/browse/GEOMETRY-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16727541#comment-16727541
]
Matt Juntunen commented on GEOMETRY-31:
---------------------------------------
Yep. PR is now submitted. I closed PR 17.
> Standardize Method Names with commons-numbers
> ---------------------------------------------
>
> Key: GEOMETRY-31
> URL: https://issues.apache.org/jira/browse/GEOMETRY-31
> Project: Apache Commons Geometry
> Issue Type: Task
> Reporter: Matt Juntunen
> Priority: Major
>
> There are many general operations that are common between classes in
> commons-numbers and commons-geometry but that use different method names. The
> table below captures these discrepancies (at least the ones I've found) and
> the name that I think we should standardize on.
> ||commons-numbers||commons-geometry||suggested standard||
> |norm()|getNorm()|norm()|
> |normSq()|getNormSq()|normSq()|
> |inverse()|getInverse()|inverse()|
> |multiply(double)|scalarMultiply(double)|multiply(double)|
> |dotProduct()|dotProduct()|dot()|
> |–|crossProduct()|cross()|
>
> Pull request: https://github.com/apache/commons-geometry/pull/18
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)