public final class Randp
extends Object
-
Method Summary
static int
randp(double[] P,
int rows)
randp(double[] P,
int rows,
int cols)
Pick random values with relative probability.
static int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
randp
public static Matrix randp(double[] P,
int rows,
int cols)
Pick random values with relative probability.
-
randp
public static Matrix randp(double[] P,
int rows)
-
-
-
randp
public static int randp(double[] P)
-
randp
public static int randp(Matrix P)