[ 
https://issues.apache.org/jira/browse/GEOMETRY-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743397#comment-17743397
 ] 

Dimitrios Efthymiou edited comment on GEOMETRY-160 at 7/15/23 2:09 PM:
-----------------------------------------------------------------------

[~ggregory] well, I took the code from my project and adapted it:
[https://github.com/orionlibs/orion/tree/main/orion_math/src/main/java/com/orion/math]
in fact, I doubt that ChatGPT would even be able to write the code I wrote. I 
dumped

the orion library 3+ months ago on GitHub. I have been writing this library 
since September 2016. I started the math part of orion in 2019 and it took me 
half a year to write those 83,000 lines and 1,306 classes in my free time, in 
the evenings after work. So, no, I didn't use ChatGPT for that because I didn't 
know it existed 4 years ago and becaues it wouldn't be able to do the work I 
did for OrionMath. But I understand your relactance to believe that the simple 
code I am trying to contribute comes from me, personally. I use ChatGPT for 
ideas only and checklists


was (Author: JIRAUSER301169):
[~ggregory] well, I took the code from my project and adapted it:
https://github.com/orionlibs/orion/tree/main/orion_math/src/main/java/com/orion/math

> 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)

Reply via email to