public final class GeometricMedian extends Object
Modifier and Type | Method and Description |
---|---|
static javax.vecmath.Point3d |
median(javax.vecmath.Point4d[] points,
double tol,
int max_iter)
Computes the median point of the input point set.
|
public static javax.vecmath.Point3d median(javax.vecmath.Point4d[] points, double tol, int max_iter)
points
- array of x,y,z,w where w is the weight; weights must be
non-negativetol
- tolerancemax_iter
- max iterationsCopyright © 2023. All rights reserved.