This class computes the same discrepancy as in DiscShiftBaker1 [see eq. More...
Public Member Functions | |
| BigDiscShiftBaker1 (double[][] points, int n, int s) | |
| Constructor with the \(n\) points points[i] in \(s\) dimensions, with all the weights \(\gamma_r = 1\). | |
| BigDiscShiftBaker1 (double[][] points, int n, int s, double[] gamma) | |
| Constructor with the \(n\) points points[i] in \(s\) dimensions, with weights \(\gamma_r = \) gamma[r-1]. | |
| BigDiscShiftBaker1 (int n, int s, double[] gamma) | |
| Constructor for a lattice of \(n\) points in \(s\) dimensions, with weights \(\gamma_r = \) gamma[r-1], \(r = 1,2, …, s\). | |
| BigDiscShiftBaker1 (PointSet set) | |
| Constructor with the point set set. | |
| BigDiscShiftBaker1 () | |
| Empty constructor. | |
| double | compute (double[][] points, int n, int s) |
| NOT IMPLEMENTED. | |
| double | compute (double[][] points, int n, int s, double[] gamma) |
| NOT IMPLEMENTED. | |
| Public Member Functions inherited from umontreal.ssj.discrepancy.BigDiscrepancy | |
| BigDiscrepancy (double[][] points, int n, int s) | |
| Constructor with the \(n\) points points[i] in \(s\) dimensions. | |
| BigDiscrepancy (double[][] points, int n, int s, double[] gamma) | |
| Constructor with the \(n\) points points[i] in \(s\) dimensions with weight factors gamma. | |
| BigDiscrepancy (int n, int s, double[] gamma) | |
| The number of points is \(n\), the dimension \(s\), and the. | |
| BigDiscrepancy (PointSet set) | |
| Constructor with the point set set. | |
| BigDiscrepancy () | |
| Empty constructor. | |
| Public Member Functions inherited from umontreal.ssj.discrepancy.Discrepancy | |
| Discrepancy (double[][] points, int n, int s) | |
| Constructor with the \(n\) points points[i] in \(s\) dimensions. | |
| Discrepancy (double[][] points, int n, int s, double[] gamma) | |
| Constructor with the \(n\) points points[i] in \(s\) dimensions and the \(s\) weight factors gamma[ \(j\)], \(j = 0, 1,
…, (s-1)\). | |
| Discrepancy (int n, int s, double[] gamma) | |
| The number of points is \(n\), the dimension \(s\), and the. | |
| Discrepancy (PointSet set) | |
| Constructor with the point set set. | |
| Discrepancy () | |
| Empty constructor. | |
| double | compute () |
| Computes the discrepancy of all the points in maximal dimension (dimension of the points). | |
| double | compute (int s) |
| Computes the discrepancy of all the points in dimension \(s\). | |
| double | compute (double[][] points) |
| Computes the discrepancy of all the points of points in maximum dimension. | |
| double | compute (double[] T, int n) |
| Computes the discrepancy of the first n points of T in 1 dimension. | |
| double | compute (double[] T) |
| Computes the discrepancy of all the points of T in 1 dimension. | |
| double | compute (double[] T, int n, double gamma) |
| Computes the discrepancy of the first n points of T in 1 dimension with weight gamma. | |
| double | compute (PointSet set, double[] gamma) |
| Computes the discrepancy of all the points in set in the same dimension as the point set and with weights gamma. | |
| double | compute (PointSet set) |
| Computes the discrepancy of all the points in set in the same dimension as the point set. | |
| int | getNumPoints () |
| Returns the number of points \(n\). | |
| int | getDimension () |
| Returns the dimension of the points \(s\). | |
| void | setPoints (double[][] points, int n, int s) |
| Sets the points to points and the dimension to \(s\). | |
| void | setPoints (double[][] points) |
| Sets the points to points. | |
| void | setGamma (double[] gam, int s) |
| Sets the weight factors to gam for each dimension up to \(s\). | |
| double[] | getGamma () |
| Returns the weight factors gamma for each dimension up to \(s\). | |
| String | toString () |
| Returns the parameters of this class. | |
| String | formatPoints () |
| Returns all the points of this class. | |
| String | getName () |
| Returns the name of the Discrepancy. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from umontreal.ssj.discrepancy.Discrepancy | |
| static double[][] | toArray (PointSet set) |
| Returns all the \(n\) points ( \(s\)-dimensional) of. | |
| static DoubleArrayList | sort (double[] T, int n) |
| Sorts the first \(n\) points of \(T\). | |
This class computes the same discrepancy as in DiscShiftBaker1 [see eq.
( baker1 )], but uses multi-precision real numbers.
No method are implemented yet for this class.
Only the subclass BigDiscShiftBaker1Lattice has implemented methods to compute the discrepancy.
Definition at line 43 of file BigDiscShiftBaker1.java.
| umontreal.ssj.discrepancy.BigDiscShiftBaker1.BigDiscShiftBaker1 | ( | double | points[][], |
| int | n, | ||
| int | s ) |
Constructor with the \(n\) points points[i] in \(s\) dimensions, with all the weights \(\gamma_r = 1\).
points[i][r] is the r-th coordinate of point i. Indices i and r start at 0.
Definition at line 64 of file BigDiscShiftBaker1.java.
| umontreal.ssj.discrepancy.BigDiscShiftBaker1.BigDiscShiftBaker1 | ( | double | points[][], |
| int | n, | ||
| int | s, | ||
| double[] | gamma ) |
Constructor with the \(n\) points points[i] in \(s\) dimensions, with weights \(\gamma_r = \) gamma[r-1].
points[i][r] is the r-th coordinate of point i. Indices i and r start at 0.
Definition at line 73 of file BigDiscShiftBaker1.java.
| umontreal.ssj.discrepancy.BigDiscShiftBaker1.BigDiscShiftBaker1 | ( | int | n, |
| int | s, | ||
| double[] | gamma ) |
Constructor for a lattice of \(n\) points in \(s\) dimensions, with weights \(\gamma_r = \) gamma[r-1], \(r = 1,2, …, s\).
The \(n\) points will be chosen later.
Definition at line 82 of file BigDiscShiftBaker1.java.
| umontreal.ssj.discrepancy.BigDiscShiftBaker1.BigDiscShiftBaker1 | ( | PointSet | set | ) |
Constructor with the point set set.
All the points are copied in an internal array.
Definition at line 90 of file BigDiscShiftBaker1.java.
| umontreal.ssj.discrepancy.BigDiscShiftBaker1.BigDiscShiftBaker1 | ( | ) |
Empty constructor.
One must set the points, the dimension, and the weight factors before calling any method.
Definition at line 98 of file BigDiscShiftBaker1.java.
| double umontreal.ssj.discrepancy.BigDiscShiftBaker1.compute | ( | double | points[][], |
| int | n, | ||
| int | s ) |
NOT IMPLEMENTED.
Reimplemented from umontreal.ssj.discrepancy.Discrepancy.
Reimplemented in umontreal.ssj.discrepancy.BigDiscShiftBaker1Lattice.
Definition at line 104 of file BigDiscShiftBaker1.java.
| double umontreal.ssj.discrepancy.BigDiscShiftBaker1.compute | ( | double | points[][], |
| int | n, | ||
| int | s, | ||
| double[] | gamma ) |
NOT IMPLEMENTED.
Reimplemented from umontreal.ssj.discrepancy.Discrepancy.
Reimplemented in umontreal.ssj.discrepancy.BigDiscShiftBaker1Lattice.
Definition at line 112 of file BigDiscShiftBaker1.java.