[
https://issues.apache.org/jira/browse/GEOMETRY-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Juntunen updated GEOMETRY-31:
----------------------------------
Description:
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()|
was:
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)|
> 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()|
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)