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

Gilles Sadowski commented on NUMBERS-156:
-----------------------------------------

{quote}That would be nice but I personally don't have an interest in pursuing 
this right now. My thought is just to have a single, accurate (and hopefully 
performant) implementation, similar to how the JDK has a single Math.hypot 
implementation.
{quote}
My suggestion was intended for use in [Geometry] to allow user-selected 
accuracy vs speed trade-off (e.g. for real-time usage).
 If there is a single implementation that is best (or good enough) in all 
cases, or if the cumulated calls to {{norm}} are an insignificant part of 
[Geometry] computations, then no need to have that indeed.

> SafeNorm 3D overload
> --------------------
>
>                 Key: NUMBERS-156
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-156
>             Project: Commons Numbers
>          Issue Type: Improvement
>            Reporter: Matt Juntunen
>            Priority: Major
>         Attachments: performance-all.png, performance-len-1-5.png, 
> performance2-1-5.png, performance2-all.png, performance3-1-5.png, 
> performance3-all.png
>
>
> We should create an overload of {{SafeNorm.value}} that accepts 3 arguments 
> to potentially improve performance for 3D vectors.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to