Distance from point to set
- To: mathgroup at smc.vnet.net
- Subject: [mg55273] Distance from point to set
- From: Piotr Kowalski <pkowalsk at ibspan.waw.pl>
- Date: Fri, 18 Mar 2005 05:33:49 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hello,
I would like to compute distance d(x,A) from a point 'x' to a set 'A',
(all in R^n, where n=2 or n=3) that is:
d(x,A) = min ||x - a|| (forall a in A)
where: n=2 or n=3,
x is point in R^n, A is subset of R^n
|| || is norm (euclidean, max, etc).
Can I find Mathematica function or package for such problem ?
Thank you in advance,
P. Kowalski
- Follow-Ups:
- Re: Distance from point to set
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: Distance from point to set