[
https://issues.apache.org/jira/browse/GEOMETRY-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743391#comment-17743391
]
Dimitrios Efthymiou commented on GEOMETRY-160:
----------------------------------------------
[~erans] You ask: "how one can determine what belongs in the API within a given
scope"?
What is the scope of commons-geometry? Why is the method Vectors::normSq
even necessary when you can just do x*x - which was the argument someone
gave me for another convenience method I suggested 1/2 days ago?
It seems that the scope of this project does not include convenience methods.
Also, commons math is object-oriented and every aspect of math,
has a dedicated class that handles that math aspect. Why don't we do the same
for commons-geometry?
Thank you
> Implement getIndicesOfOccurenceOfElement(Vector x, double element)
> ------------------------------------------------------------------
>
> Key: GEOMETRY-160
> URL: https://issues.apache.org/jira/browse/GEOMETRY-160
> Project: Commons Geometry
> Issue Type: New Feature
> Components: euclidean1D, euclidean2D, euclidean3D
> Reporter: Dimitrios Efthymiou
> Priority: Minor
> Labels: features
> Original Estimate: 5h
> Remaining Estimate: 5h
>
> If we have a vector u = (2, 1, 3, 1, 7) and a number, say, 1 then it returns
> a list of the indices 1 and 3
--
This message was sent by Atlassian Jira
(v8.20.10#820010)