You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Juntunen (JIRA)" <ji...@apache.org> on 2018/12/21 02:28:00 UTC
[jira] [Commented] (GEOMETRY-31) Standardize Method Names with
commons-numbers
[ https://issues.apache.org/jira/browse/GEOMETRY-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16726388#comment-16726388 ]
Matt Juntunen commented on GEOMETRY-31:
---------------------------------------
If we're going for brevity, should we use {{dot}} instead of {{dotProduct}} and {{cross}} instead of {{crossProduct}}? There's a good chance I'm overthinking this but I feel like it's still good to ask.
> 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)|
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)