nl.tudelft.simulation.jstats.math
Class ProbMath

java.lang.Object
  extended by nl.tudelft.simulation.jstats.math.ProbMath

public final class ProbMath
extends Object

The PropMath class defines some very basic probabilistic mathematical functions.

(c) copyright 2002-2005-2004 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Since:
1.0
Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:25:44 $
Author:
Peter Jacobs

Method Summary
static double faculty(int n)
          computes the faculty of n.
static double permutations(int n, int m)
          computes the permutations of n over m.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

faculty

public static double faculty(int n)
computes the faculty of n.

Parameters:
n - is the input
Returns:
faculty of n

permutations

public static double permutations(int n,
                                  int m)
computes the permutations of n over m.

Parameters:
n - the first parameter
m - the second parameter
Returns:
the permutations of n over m


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.