Package org.apache.commons.math3.random

Examples of org.apache.commons.math3.random.Well19937c


            int minDiffNDs,
            int maxDiffNDs,
            int[] minIndices,
            int[] maxIndices,
            boolean withSymmetries) {
        this(minDiffNDs, maxDiffNDs, minIndices, maxIndices, withSymmetries, new Well19937c());
    }
View Full Code Here


            int maxDiffNDs,
            int[] minIndices,
            int[] maxIndices,
            boolean withSymmetries,
            long seed) {
        this.random = new Well19937c();
        this.random.setSeed(seed);
        this.minIndices = minIndices;
        this.maxIndices = maxIndices;
        this.withSymmetries = withSymmetries;
        int di = 1, t;
View Full Code Here

            int minDiffNDs,
            int maxDiffNDs,
            int[] minIndices,
            int[] maxIndices,
            boolean withSymmetries) {
        this(minDiffNDs, maxDiffNDs, minIndices, maxIndices, withSymmetries, new Well19937c());
    }
View Full Code Here

     */
    public static void main(String[] args) {
        try {

            //burn JVM
            BitsStreamGenerator bitsStreamGenerator = new Well19937c();

            for (int i = 0; i < 1000; ++i)
                nextArray(1000, bitsStreamGenerator);

            System.out.println("Поехали!");
View Full Code Here

     * @param upper Upper bound of this distribution (exclusive).
     * @throws NumberIsTooLargeException if {@code lower >= upper}.
     */
    public UniformRealDistribution(double lower, double upper)
        throws NumberIsTooLargeException {
        this(new Well19937c(), lower, upper);
    }
View Full Code Here

     *             {@link #UniformRealDistribution(double, double)} instead.
     */
    @Deprecated
    public UniformRealDistribution(double lower, double upper, double inverseCumAccuracy)
        throws NumberIsTooLargeException {
        this(new Well19937c(), lower, upper);
    }
View Full Code Here

     * @throws MathArithmeticException all of the probabilities are 0.
     */
    public EnumeratedRealDistribution(final double[] singletons, final double[] probabilities)
    throws DimensionMismatchException, NotPositiveException, MathArithmeticException,
           NotFiniteNumberException, NotANumberException {
        this(new Well19937c(), singletons, probabilities);
    }
View Full Code Here

     * @throws MathArithmeticException all of the probabilities are 0.
     */
    public EnumeratedIntegerDistribution(final int[] singletons, final double[] probabilities)
    throws DimensionMismatchException, NotPositiveException, MathArithmeticException,
           NotFiniteNumberException, NotANumberException{
        this(new Well19937c(), singletons, probabilities);
    }
View Full Code Here

    public MultivariateNormalDistribution(final double[] means,
                                          final double[][] covariances)
        throws SingularMatrixException,
               DimensionMismatchException,
               NonPositiveDefiniteMatrixException {
        this(new Well19937c(), means, covariances);
    }
View Full Code Here

     * @throws NotANumberException if any of the probabilities are NaN.
     * @throws MathArithmeticException all of the probabilities are 0.
     */
    public EnumeratedDistribution(final List<Pair<T, Double>> pmf)
        throws NotPositiveException, MathArithmeticException, NotFiniteNumberException, NotANumberException {
        this(new Well19937c(), pmf);
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.math3.random.Well19937c

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.