commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <>
Subject [jira] [Commented] (MATH-1284) Vector is-not-a Point
Date Sat, 24 Oct 2015 20:49:27 GMT


Gilles commented on MATH-1284:

I think that {{Point}} here is just meant to be a base class of {{Vector}}.
It is perhaps imprecise, mathematically. 
Does a "point" actually need a "distance" to exist?  If "distance" is defined in this class,
then isn't it equivalent to a "vector"?
Perhaps Luc could clarify his choice of terms within the Javadoc.
What would you suggest?

> Vector is-not-a Point
> ---------------------
>                 Key: MATH-1284
>                 URL:
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.5
>            Reporter: Roman Werpachowski
>            Priority: Minor
> The class hierarchy for geometry claims that Vector is-a Point:
> This is mathematically incorrect, see e.g.
> Just because they share the same numerical representation, Point and Vector shouldn't
be crammed into a common class hierarchy.

This message was sent by Atlassian JIRA

View raw message