Distance Functions

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

In analysis, a distance function (also called a metric) on a set of points is a function with four properties; suppose :

[more]

1. (non-negativity)

2. if and only if (identity of indiscernibles)

3. (symmetry)

4. (triangle inequality)

Mathematica 7 comes with a variety of built-in distance functions. This Demonstration selects points within a given distance from a locator, using one of these distance functions.

[less]

Contributed by: Ed Pegg Jr (March 2011)
Open content licensed under CC BY-NC-SA


Snapshots


Details

detailSectionParagraph


Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send