SSJ
V. 2.6.

umontreal.iro.lecuyer.probdistmulti.norta
Class NI2a

java.lang.Object
  extended by umontreal.iro.lecuyer.probdistmulti.norta.NortaInitDisc
      extended by umontreal.iro.lecuyer.probdistmulti.norta.NI2a

public class NI2a
extends NortaInitDisc

This class implements the algorithm NI2a wich uses the derivative and simple integration.


Constructor Summary
NI2a(double rX, DiscreteDistributionInt dist1, DiscreteDistributionInt dist2, double tr, double h, double delta)
          Constructor of the class NI2a with the target rank correlation rX, the two discrete marginals dist1 and dist2, the parameter for truncation tr, and the specific parameters h and delta, which correspond to h and delta in the paper (paragraph "Method NI2" of section 3).
 
Method Summary
 double computeCorr()
          Computes and returns the correlation ρZ using the algorithm NI2a.
 String toString()
           
 
Methods inherited from class umontreal.iro.lecuyer.probdistmulti.norta.NortaInitDisc
computeParams, deriv, integ
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NI2a

public NI2a(double rX,
            DiscreteDistributionInt dist1,
            DiscreteDistributionInt dist2,
            double tr,
            double h,
            double delta)
Constructor of the class NI2a with the target rank correlation rX, the two discrete marginals dist1 and dist2, the parameter for truncation tr, and the specific parameters h and delta, which correspond to h and delta in the paper (paragraph "Method NI2" of section 3).

Method Detail

computeCorr

public double computeCorr()
Computes and returns the correlation ρZ using the algorithm NI2a.

Specified by:
computeCorr in class NortaInitDisc

toString

public String toString()
Overrides:
toString in class NortaInitDisc

SSJ
V. 2.6.

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