|
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.DiscShiftBaker1
umontreal.iro.lecuyer.discrepancy.DiscShiftBaker1Lattice
public class DiscShiftBaker1Lattice
This class computes the same discrepancy in for
the randomly shifted points of a set L as given in eq.
for class DiscShiftBaker1, but for the special case when the points are
the nodes of an integration lattice. It is given by
| [D(L)]2 | = | -1 + ∑i=1n∏r=1s[1 - [B4(xir) - B4({xir -1/2})] - |
|
*-1cm [7B4(xir) - 2B4({xir -1/2})] - [B6(xir) - B6({xir -1/2})]], |
| [D(L)]2 | = | - [tex2html_wrap_indisplay274]∑i=1n[ [B4(xi) - B4({xi -1/2})] + |
|
*-1cm [7B4(xi) - 2B4({xi -1/2})] + [B6(xi) - B6({xi -1/2})]], |
| Constructor Summary | |
|---|---|
DiscShiftBaker1Lattice()
Empty constructor. |
|
DiscShiftBaker1Lattice(double[][] points,
int n,
int s)
Constructor with the n points points[i] in s dimensions, and with all weights γr = 1. |
|
DiscShiftBaker1Lattice(double[][] points,
int n,
int s,
double[] gamma)
Constructor with the n points points[i] in s dimensions, with weights γr = gamma[r-1]. |
|
DiscShiftBaker1Lattice(int n,
int s,
double[] gamma)
The number of points is n, the dimension s, and the s weight factors are gamma[r], r = 0, 1,…,(s - 1). |
|
DiscShiftBaker1Lattice(Rank1Lattice set)
Constructor with the point set set. |
|
| Method Summary | |
|---|---|
double |
compute(double[][] points,
int n,
int s)
Computes the discrepancy for the s-dimensional points of lattice points, containing n points. |
double |
compute(double[][] points,
int n,
int s,
double[] gamma)
Computes the discrepancy for the s-dimensional points of lattice points, containing n points, with weights γr = gamma[r-1]. |
double |
compute(double[] T,
int n)
Computes the discrepancy with weight γ = 1 for the 1-dimensional lattice of n points T. |
double |
compute(double[] T,
int n,
double gamma)
Computes the discrepancy for the 1-dimensional lattice of n points T, with weight γ = gamma. |
| Methods inherited from class umontreal.iro.lecuyer.discrepancy.Discrepancy |
|---|
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 DiscShiftBaker1Lattice(double[][] points,
int n,
int s)
public DiscShiftBaker1Lattice(double[][] points,
int n,
int s,
double[] gamma)
public DiscShiftBaker1Lattice(int n,
int s,
double[] gamma)
public DiscShiftBaker1Lattice(Rank1Lattice set)
public DiscShiftBaker1Lattice()
| Method Detail |
|---|
public double compute(double[][] points,
int n,
int s)
compute in class DiscShiftBaker1
public double compute(double[][] points,
int n,
int s,
double[] gamma)
compute in class DiscShiftBaker1
public double compute(double[] T,
int n)
compute in class DiscShiftBaker1
public double compute(double[] T,
int n,
double gamma)
compute in class DiscShiftBaker1
|
SSJ V. labo. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||