SSJ
V. labo.

umontreal.iro.lecuyer.discrepancy
Class BigDiscShiftBaker1Lattice

java.lang.Object
  extended by umontreal.iro.lecuyer.discrepancy.Discrepancy
      extended by umontreal.iro.lecuyer.discrepancy.BigDiscrepancy
          extended by umontreal.iro.lecuyer.discrepancy.BigDiscShiftBaker1
              extended by umontreal.iro.lecuyer.discrepancy.BigDiscShiftBaker1Lattice

public class BigDiscShiftBaker1Lattice
extends BigDiscShiftBaker1

This class computes the same discrepancy as in DiscShiftBaker1Lattice [see eq.], but uses multi-precision real numbers.


Constructor Summary
BigDiscShiftBaker1Lattice(int n, int s)
          Constructor for a lattice of n points in at most s dimensions, with weights γr = 1.
BigDiscShiftBaker1Lattice(int n, int s, double[] gamma)
          Constructor for a lattice of n points in at most s dimensions, with weights γr = gamma[r-1], r = 1, 2,…, s.
 
Method Summary
 double compute(double[][] points, int n, int s)
          NOT IMPLEMENTED.
 double compute(double[][] points, int n, int s, double[] gamma)
          NOT IMPLEMENTED.
 double compute(long[] a, int s)
          Computes the discrepancy for a rank-1 lattice in dimension s.
 
Methods inherited from class umontreal.iro.lecuyer.discrepancy.Discrepancy
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

BigDiscShiftBaker1Lattice

public BigDiscShiftBaker1Lattice(int n,
                                 int s,
                                 double[] gamma)
Constructor for a lattice of n points in at most s dimensions, with weights γr = gamma[r-1], r = 1, 2,…, s.


BigDiscShiftBaker1Lattice

public BigDiscShiftBaker1Lattice(int n,
                                 int s)
Constructor for a lattice of n points in at most s dimensions, with weights γr = 1.

Method Detail

compute

public double compute(long[] a,
                      int s)
Computes the discrepancy for a rank-1 lattice in dimension s. This lattice is generated by ar = a[r-1], r = 1, 2,…, s.


compute

public double compute(double[][] points,
                      int n,
                      int s)
NOT IMPLEMENTED.

Overrides:
compute in class BigDiscShiftBaker1

compute

public double compute(double[][] points,
                      int n,
                      int s,
                      double[] gamma)
Description copied from class: BigDiscShiftBaker1
NOT IMPLEMENTED.

Overrides:
compute in class BigDiscShiftBaker1

SSJ
V. labo.

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