commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <>
Subject Re: [math] "equals" in "Vector3D"
Date Tue, 28 Apr 2009 18:53:51 GMT
That sounds very reasonable, but I wasn't the person with the need.

Also, for equality checking, especially in 3D, all of these will be very,
very close to the same.  For very high numbers of dimensions, the
differences between boxes and balls becomes fairly extreme.  In particular,
the corners of unit cubes (with a side length of 1) will begin to stick out
of the unit sphere (with a DIAmeter of 2).  Beyond that point, things get
very strange.

On Tue, Apr 28, 2009 at 11:41 AM, Luc Maisonobe <>wrote:

> Ted Dunning a écrit :
> > This is a generally useful thing to have,...
> I'll guess for 3D vector the L2-norm is the more useful as it is
> invariant when physical orthonormal frames are changed.
> I'll check in the variant you prefer.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message