You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles Sadowski (Jira)" <ji...@apache.org> on 2021/06/09 15:34:00 UTC
[jira] [Commented] (GEOMETRY-21) Investigate Norm Accuracy
[ https://issues.apache.org/jira/browse/GEOMETRY-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17360159#comment-17360159 ]
Gilles Sadowski commented on GEOMETRY-21:
-----------------------------------------
I guess that this issue has been fixed (?).
By the way, is there a reason to keep the "internal" {{Vectors}} class, rather than directly use the "Commons Numbers" API ({{Norm}} enum)?
> Investigate Norm Accuracy
> -------------------------
>
> Key: GEOMETRY-21
> URL: https://issues.apache.org/jira/browse/GEOMETRY-21
> Project: Apache Commons Geometry
> Issue Type: Task
> Reporter: Matt Juntunen
> Priority: Minor
>
> Based on discussion in GEOMETRY-17, we should investigate the floating point accuracy of the current Vector normalization methods. Specifically, when the UnitVector private subclass in Vector3D is implemented to return exactly 1.0, the SphericalPolygonsSetTest#testGeographicalMap unit test in commons-geometry-enclosing begins to fail. We should
> # Determine the cause of this failure.
> # Determine if the current approach with the UnitVector subclasses introduces any issues with floating point accuracy.
> # Add unit tests for Vector[123]D to quantify and verify the accuracy of the normalization.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)