org.jgrapht.util
Class MathUtil

java.lang.Object
  extended by org.jgrapht.util.MathUtil

public class MathUtil
extends java.lang.Object

Math Utilities. Currently contains the following:

  • factorial(int N) - caclulate the factorial of N (aka N!)

    Since:
    May 30, 2005
    Author:
    Assaf

    Constructor Summary
    MathUtil()
               
     
    Method Summary
    static long factorial(int N)
               
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    MathUtil

    public MathUtil()
    Method Detail

    factorial

    public static long factorial(int N)