public final class ProbMath extends Object
(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.
Modifier and Type | Method and Description |
---|---|
static double |
faculty(int n)
computes the faculty of n.
|
static double |
permutations(int n,
int m)
computes the permutations of n over m.
|
public static double faculty(int n)
n
- is the inputpublic static double permutations(int n, int m)
n
- the first parameterm
- the second parameterCopyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.