|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPamUtils.CoordUtils
public class CoordUtils
| Constructor Summary | |
|---|---|
CoordUtils()
|
|
| Method Summary | |
|---|---|
static double |
dist(double[] a,
double[] b)
Given two N-element vectors representing positions, return the distance between them. |
static double |
dist(double[] a,
double[] b,
int n)
Given two N-element vectors representing positions, return the distance between them. |
static double |
Pam3dRangeCalc(Coordinate3d a,
Coordinate3d b)
Given two Coordinate3d objects, return the distance between them. |
static double |
sumSquared(double[] x)
Find the sum of squares of a vector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoordUtils()
| Method Detail |
|---|
public static double Pam3dRangeCalc(Coordinate3d a,
Coordinate3d b)
public static double dist(double[] a,
double[] b)
public static double dist(double[] a,
double[] b,
int n)
see See also CoordUtils.norm().
author Dave Mellinger
public static double sumSquared(double[] x)
see See also CoordUtils.dist().
author Dave Mellinger
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||