You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alex Herbert (Jira)" <ji...@apache.org> on 2023/07/14 12:52:00 UTC

[jira] [Commented] (GEOMETRY-148) N-dimensional vectors

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

Alex Herbert commented on GEOMETRY-148:
---------------------------------------

The vectors in Geometry are specialised for use in the various euclidean and spherical geometry algorithms. Do you have a desire to extend these to N dimensions? The vectors are not intended for generic algebra.

Note that a generic n-dimension vector is in Commons Math along with matrices and supported functionality to implement various operations in Math.

See {{{}org.apache.commons.math4.legacy.linear{}}}.

The classes in this package suffer performance issues due to the use of defensive copy on arrays. Have a look there and see if you can determine functionality that is missing. You could also compare to functionality in other Java matrix libraries, e.g. EJML.

> N-dimensional vectors
> ---------------------
>
>                 Key: GEOMETRY-148
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-148
>             Project: Commons Geometry
>          Issue Type: New Feature
>          Components: euclidean3D
>            Reporter: Dimitrios Efthymiou
>            Assignee: Matt Juntunen
>            Priority: Minor
>             Fix For: 1.1
>
>
> The library can handle 1D, 2D and 3D vectors. Can we add support for ND vectors?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)