|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmath.SupremumMetric
public class SupremumMetric
The supremum metric. This is sometimes also called the uniform metric and/or the infinity metric.
| Constructor Summary | |
|---|---|
SupremumMetric()
|
|
| Method Summary | |
|---|---|
double |
distance(double[] x,
double[] y)
Calculate the distance between two n-dimensional points (required by Metric) Note: For simplicity, this method does not confirm that the two arrays are the same size. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SupremumMetric()
| Method Detail |
|---|
public double distance(double[] x,
double[] y)
distance in interface Metricx - One n-dimensional pointy - Another n-dimensional point
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||