Package study.math.cmath

Source Code of study.math.cmath.TestNextInt

//The nextInt method of RandomDataImpl is not consistent with others.
//You can either email the developer team to modify it or just bear it.

package study.math.cmath;

import org.apache.commons.math3.random.RandomDataImpl;
import org.apache.commons.math3.random.RandomGenerator;
import org.apache.commons.math3.random.Well44497b;


public class TestNextInt {
  public static void main(String[] args){
    RandomGenerator rg = new Well44497b();
    RandomDataImpl rng = new RandomDataImpl(rg);
    System.out.println(rng.nextInt(0, 1));
  }
}
TOP

Related Classes of study.math.cmath.TestNextInt

TOP
Copyright © 2018 www.massapi.com. 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.