|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.discrepancy.Discrepancy
umontreal.iro.lecuyer.discrepancy.DiscL2Symmetric
public class DiscL2Symmetric
COMPLÉTER LA DOC ICI.
This class computes the L2-symmetric discrepancy for a set of points, given by
where n is the number of points of P, s is the dimension, and zik is the k-th coordinate of point i.In one dimension, formula is equivalent to
where zi is the coordinate of point i.
Constructor Summary | |
---|---|
DiscL2Symmetric()
Empty constructor. |
|
DiscL2Symmetric(double[][] points,
int n,
int s)
Constructor with the n points points[i] in s dimensions. |
|
DiscL2Symmetric(int n,
int s)
Constructor with n points in dimension s. |
|
DiscL2Symmetric(PointSet set)
Constructor with the point set set. |
Method Summary | |
---|---|
double |
compute(double[][] points,
int n,
int s)
Computes the L2-symmetric discrepancy for the set of n s-dimensional points points, using formula. |
double |
compute(double[][] points,
int n,
int s,
double[] gamma)
Computes the discrepancy of the first n points of points in dimension s with weights gamma. |
double |
compute(double[] T,
int n)
Computes the L2-symmetric discrepancy for the set of n 1-dimensional points T, using formula. |
Methods inherited from class umontreal.iro.lecuyer.discrepancy.Discrepancy |
---|
compute, compute, compute, compute, compute, compute, compute, formatPoints, getDimension, getGamma, getName, getNumPoints, setGamma, setPoints, setPoints, sort, toArray, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DiscL2Symmetric(double[][] points, int n, int s)
public DiscL2Symmetric(int n, int s)
public DiscL2Symmetric(PointSet set)
public DiscL2Symmetric()
Method Detail |
---|
public double compute(double[][] points, int n, int s, double[] gamma)
Discrepancy
compute
in class Discrepancy
public double compute(double[][] points, int n, int s)
compute
in class Discrepancy
public double compute(double[] T, int n)
compute
in class Discrepancy
|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |