public class RandomEx3 extends Object
Generates a pseudorandom sample from a discrete distribution.
In this example, nextDiscrete
is used to generate 2 groups of
five pseudorandom variates from the discrete distribution:
Constructor and Description |
---|
RandomEx3() |
public static void main(String[] args)
Copyright © 2020 Rogue Wave Software. All rights reserved.