Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
None
-
None
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() |
Pull request: https://github.com/apache/commons-geometry/pull/18