Package gov.nih.mipav.model.algorithms
Class WishartVariateGenerator
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.WishartVariateGenerator
-
public class WishartVariateGenerator extends java.lang.Object
Ported from original FORTRAN code Algorithm AS 53: Wishart Variate Generator Authors: W. B. Smith and R. R. Hocking Source: Journal of the Royal Statistical Society Series C (applied Statistics), 1972, Vol. 21, No. 3, pp. 341-345 Published by: Wiley for the Royal Statistical Society Stable URL: https://www.jstor.org/stable/2346290
-
-
Constructor Summary
Constructors Constructor Description WishartVariateGenerator(double[][] sigma, int N, double[][] SA, double[][] SB)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
rand(double[] u1, double[] u2)
private void
rcIndex(int index, int np, int[] rowIndex, int[] colIndex)
void
run()
-
-
-
Field Detail
-
sigma
private double[][] sigma
-
N
private int N
-
SA
private double[][] SA
-
SB
private double[][] SB
-
random
RandomNumberGen random
-
-