|
|
com.kutsyy.util
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary | |
private double[] |
a
Used internaly, see original FORTRAN code for details |
private double |
abseps
Used internaly, see original FORTRAN code for details |
private double[] |
b
Used internaly, see original FORTRAN code for details |
private int[][] |
c
Used internaly, see original FORTRAN code for details |
private double[] |
correl
Used internaly, see original FORTRAN code for details |
private double[] |
cov
Used internaly, see original FORTRAN code for details |
private double[] |
d
Used internaly, see original FORTRAN code for details |
private double[] |
e
Used internaly, see original FORTRAN code for details |
double |
error
Output : error of the estimator |
private int |
hisum
Used internaly, see original FORTRAN code for details |
private int[] |
infi
Used internaly, see original FORTRAN code for details |
private int[] |
infin
Used internaly, see original FORTRAN code for details |
private int[] |
infis
Used internaly, see original FORTRAN code for details |
int |
inform
Output: code of the computation (see description) |
private double[] |
lower
Used internaly, see original FORTRAN code for details |
int |
maxpts
Input: number of itteration |
private int |
n
Used internaly, see original FORTRAN code for details |
private int[] |
N
Used internaly, see original FORTRAN code for details |
private int |
nl
Used internaly, see original FORTRAN code for details |
private int |
np
Used internaly, see original FORTRAN code for details |
private double |
olds
Used internaly, see original FORTRAN code for details |
private int[] |
p
Used internaly, see original FORTRAN code for details |
private double[] |
prime
Used internaly, see original FORTRAN code for details |
private double[] |
psqt
Used internaly, see original FORTRAN code for details |
double |
releps
Input: relative error |
private MersenneTwister |
rnd
Random Number Generator (faster than Java's build in) |
boolean |
running
Description of the Field |
private int |
sampls
Used internaly, see original FORTRAN code for details |
private double[] |
sd
Used internaly, see original FORTRAN code for details |
private double[] |
upper
Used internaly, see original FORTRAN code for details |
double |
value
Output: value of the integral |
private double |
varest
Used internaly, see original FORTRAN code for details |
| Constructor Summary | |
Mvndstpack()
Empty constructor |
|
Mvndstpack(double[] Lower,
double[] Upper,
double[][] Cor,
int Maxpts,
double Abseps,
double Releps)
Constructor |
|
Mvndstpack(double[] Lower,
double[] Upper,
double[] Correl,
int Maxpts,
double Abseps,
double Releps)
Constructor |
|
Mvndstpack(double[] Lower,
double[] Upper,
int[] Infin,
double[][] Cor,
int Maxpts,
double Abseps,
double Releps)
Constructor |
|
Mvndstpack(double[] Lower,
double[] Upper,
int[] Infin,
double[] Correl,
int Maxpts,
double Abseps,
double Releps)
Constructor |
|
| Method Summary | |
private void |
compute()
Same as run |
private void |
cor2to1(double[][] cor2)
Insert the method's description here. |
private void |
covsrt(double[] y,
int[] infis)
Used internaly, see original FORTRAN code for details |
private void |
dkbvrc(int ndim,
int minvls,
int maxvls)
Discription from FORTRAN code: Automatic Multidimensional Integration Subroutine AUTHOR: Alan Genz Department of Mathematics Washington State University Pulman, WA 99164-3113 Email: AlanGenz@wsu.edu Last Change: 5/15/98 KRBVRC computes an approximation to the integral 1 1 1 I I ... |
private void |
dkrcht(int s,
double[] quasi)
This subroutine generates a new quasi-random Richtmeyer vector. |
private void |
dkrcht(int s,
double[] quasi,
int start)
This subroutine generates a new quasi-random Richtmeyer vector. |
private void |
dksmrc(int ndim,
int klim,
int prime,
double[] vk,
double[] x)
Used internaly, see original FORTRAN code for details |
private void |
dkswap(double[] x,
int i,
int j)
Swap i and j element od x |
private void |
dkswap(int[] x,
int i,
int j)
Swap i and j element od x |
private double |
functn(int ndim,
double[] x)
same as mvndfn(int, double[]) |
private double |
mvndfn(int n,
double[] w)
Insert the method's description here. |
private double |
mvndnt(int[] infis,
double[] d,
double[] e)
Used internaly, see original FORTRAN code for details |
private void |
mvndst()
Used internaly, see original FORTRAN code for details |
void |
Mvndstpack(double[] Lower,
double[] Upper,
int[] Infin,
double[][] Cov,
int Maxpts,
double Abseps,
double Releps)
main method |
void |
Mvndstpack(double[] Lower,
double[] Upper,
int[] Infin,
double[] Correl,
int Maxpts,
double Abseps,
double Releps)
main method |
private void |
mvnlms(double a,
double b,
int infin,
double[] lower,
double[] upper)
Used internaly, see original FORTRAN code for details |
private void |
rcswp(int p,
int q)
Swaps rows and columns P and Q in situ, with P <= Q. |
void |
run()
To actualy re compute. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public boolean running
public double error
public int inform
public double value
public double releps
public int maxpts
private double[] lower
private double[] sd
private double[] upper
private int[] infin
private double[] correl
private double abseps
private int nl
private double[] cov
private double[] a
private double[] b
private int[] infi
private int n
private final int[][] c
private int hisum
private int np
private double olds
private final int[] p
private final double[] prime
private double[] psqt
private int sampls
private double varest
private int[] infis
private double[] e
private double[] d
private MersenneTwister rnd
private int[] N
| Constructor Detail |
public Mvndstpack(double[] Lower,
double[] Upper,
double[][] Cor,
int Maxpts,
double Abseps,
double Releps)
Lower - Lower limit of integrationUpper - Upper limit of integrationCor - Covariance matrixMaxpts - maximum number of itterationAbseps - absolute errorReleps - relative arror
public Mvndstpack(double[] Lower,
double[] Upper,
double[] Correl,
int Maxpts,
double Abseps,
double Releps)
Lower - Lower limit of integrationUpper - Upper limit of integrationMaxpts - maximum number of itterationAbseps - absolute errorReleps - relative arrorCorrel - Description of Parameter
public Mvndstpack(double[] Lower,
double[] Upper,
int[] Infin,
double[][] Cor,
int Maxpts,
double Abseps,
double Releps)
Lower - Lower limit of integrationUpper - Upper limit of integrationCor - Covariance matrixInfin - as aboveMaxpts - maximum number of itterationAbseps - absolute errorReleps - relative arrorpublic Mvndstpack()
public Mvndstpack(double[] Lower,
double[] Upper,
int[] Infin,
double[] Correl,
int Maxpts,
double Abseps,
double Releps)
Lower - Lower limit of integrationUpper - Upper limit of integrationCorrel - Covariance matrixInfin - as aboveMaxpts - maximum number of itterationAbseps - absolute errorReleps - relative arror| Method Detail |
public void Mvndstpack(double[] Lower,
double[] Upper,
int[] Infin,
double[][] Cov,
int Maxpts,
double Abseps,
double Releps)
Lower - Lower limit of integrationUpper - Upper limit of integrationInfin - as aboveMaxpts - maximum number of itterationAbseps - absolute errorReleps - relative arrorCov - Description of Parameter
public void Mvndstpack(double[] Lower,
double[] Upper,
int[] Infin,
double[] Correl,
int Maxpts,
double Abseps,
double Releps)
Lower - Lower limit of integrationUpper - Upper limit of integrationCorrel - Covariance matrixInfin - as aboveMaxpts - maximum number of itterationAbseps - absolute errorReleps - relative arrorpublic void run()
private void compute()
run()
private void dkbvrc(int ndim,
int minvls,
int maxvls)
ndim - intminvls - int[]maxvls - intprivate void mvndst()
private void covsrt(double[] y,
int[] infis)
y - double[]infis - int[]
private void dkrcht(int s,
double[] quasi)
s - doublequasi - double[]
private void dkrcht(int s,
double[] quasi,
int start)
s - doublequasi - double[]start - Description of Parameter
private void dksmrc(int ndim,
int klim,
int prime,
double[] vk,
double[] x)
ndim - intklim - intprime - intvk - double[]x - double[]
private void dkswap(double[] x,
int i,
int j)
x - double[]i - intj - int
private void dkswap(int[] x,
int i,
int j)
x - int[]i - intj - int
private double functn(int ndim,
double[] x)
ndim - intx - double[]mvndfn(int, double[])
private double mvndfn(int n,
double[] w)
n - intw - double[]
private double mvndnt(int[] infis,
double[] d,
double[] e)
infis - int[]d - double[]e - double[]
private void mvnlms(double a,
double b,
int infin,
double[] lower,
double[] upper)
a - doubleb - doubleinfin - intlower - double[]upper - double[]
private void rcswp(int p,
int q)
p - intq - intprivate void cor2to1(double[][] cor2)
cor2 - Description of Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||