SSJ
V. labo.

umontreal.iro.lecuyer.discrepancy
Class BigDiscrepancy

java.lang.Object
  extended by umontreal.iro.lecuyer.discrepancy.Discrepancy
      extended by umontreal.iro.lecuyer.discrepancy.BigDiscrepancy
Direct Known Subclasses:
BigDiscShiftBaker1

public abstract class BigDiscrepancy
extends Discrepancy

BigDiscrepancy This abstract class is the base class of all discrepancy classes programmed with floating-point numbers with multi-precision. For n large, computing the discrepancy suffers from subtractive cancellation and loses all precision if one uses double numbers. Using multi-precision numbers allow us to compute the discrepancy for larger n, but the computation is very slow.


Constructor Summary
BigDiscrepancy()
          .
BigDiscrepancy(double[][] points, int n, int s)
          .
BigDiscrepancy(double[][] points, int n, int s, double[] gamma)
          .
BigDiscrepancy(int n, int s, double[] gamma)
          .
BigDiscrepancy(PointSet set)
          .
 
Method Summary
 
Methods inherited from class umontreal.iro.lecuyer.discrepancy.Discrepancy
compute, compute, compute, 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

BigDiscrepancy

public BigDiscrepancy(double[][] points,
                      int n,
                      int s)
. \begin{tabb}Constructor with the $n$\ points \texttt{points[i]}
 in $s$\ dimensio...
 ...is the $j$-th coordinate of point $i$.
 Both $i$\ and $j$\ start at 0.
 \end{tabb}


BigDiscrepancy

public BigDiscrepancy(double[][] points,
                      int n,
                      int s,
                      double[] gamma)
. \begin{tabb}Constructor with the $n$\ points \texttt{points[i]}
 in $s$\ dimensio...
 ...is the $j$-th coordinate of point $i$.
 Both $i$\ and $j$\ start at 0.
 \end{tabb}


BigDiscrepancy

public BigDiscrepancy(int n,
                      int s,
                      double[] gamma)
. \begin{tabb}The number of points is $n$, the dimension $s$, and the $s$
 weight f...
 ...j$]}, $j = 0, 1, \ldots, (s-1)$. The $n$
 points will be chosen later.
 \end{tabb}


BigDiscrepancy

public BigDiscrepancy(PointSet set)
. \begin{tabb}Constructor with the point set \texttt{set}.
 All the points are copied in an internal array.
 \end{tabb}


BigDiscrepancy

public BigDiscrepancy()
. \begin{tabb}Empty constructor. The points and parameters \emph{must} be
 defined before calling methods of this or derived classes.
 \end{tabb}


SSJ
V. labo.

To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.