package DistLib;
import DistLib.normal;
import DistLib.uniform;
public class test
{
public static void main( String[] argv )
{
System.err.println("Density at (0,0,1) " +
normal.density( 0.0, 0.0, 1.0 ) );
System.err.println("Cumulative Density at (0,0,1) " +
normal.cumulative( 0.0, 0.0, 1.0 ) );
System.err.println("Quantile at 0.5 " +
normal.quantile( 0.5, 0.0, 1.0 ) );
System.err.println("10 Random values from N(0, 1): ");
uniform PRNG = new uniform();
for(int i=0; i<10; i++)
System.err.println( normal.random(0.0,1.0, PRNG) );
}
}