Re: Detect a point inside a convex hull in high dimension



In article <1141481517.499971.148870@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"kotya" <kotya3d@xxxxxxxxx> wrote:

How about the following?

% X is your original set
% p is your new point
% is_in -- the answer
is_in = CONVHULLN(X) == CONVHULLN([X; p])

Valik
-----------------------
I worry about how "reproducible" the 'convhulln' algorithm is in this
respect. If we add an additional point to the set which lies inside its
convex hull, though the algorithm might generate the same set of facits,
they could be produced in a different order, or worse, the permutation of
points within each facit might be altered. I don't know enough about the
inner working of the 'qhull' algorithm to guarantee that that couldn't
happen. This would mean that a simple '==' operation would not suffice.

(Remove "xyzzy" and ".invalid" to send me email.)
Roger Stafford
.



Relevant Pages

  • Re: Online poker RNG...
    ... fold, etc., etc.) and part from-the-gut (based on years of playing B&M ... "Good colluders know, as part of their colluding, how ... My particular worry is that, as was shown possible in 1999 ... knew exactly what algorithm was being used. ...
    (sci.math)
  • Re: JSH: Your funeral
    ... computer time using the best known factoring algorithms. ... your algorithm runs about as slow as a random GCD ... never find a way to prove that with some super dramatic discovery ... discoverer then yeah, maybe you should worry. ...
    (sci.math)
  • Re: JSH: Your funeral
    ... computer time using the best known factoring algorithms. ... your algorithm runs about as slow as a random GCD ... discoverer then yeah, maybe you should worry. ...
    (sci.math)
  • Re: Need Graph Isomorphism Algorithm De-bunked
    ... Phil Carmody wrote: ... Else here's an Oalgorithm which correctly differentiates all of the examples you've listed so far. ... Not to worry. ...
    (sci.crypt)