Formula 1.0.0

hirondelle.formula.function.builtin
Class Factorial

Object
  extended by hirondelle.formula.function.builtin.Factorial
All Implemented Interfaces:
Function

public final class Factorial
extends Object
implements Function

factorial(x): the factorial of an integer, in the range 0..300.


Constructor Summary
Factorial()
           
 
Method Summary
 Decimal calculate(Decimal... aArgs)
          Takes a single argument, a non-negative integer in the range 0..300.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Factorial

public Factorial()
Method Detail

calculate

public Decimal calculate(Decimal... aArgs)
Takes a single argument, a non-negative integer in the range 0..300.

Specified by:
calculate in interface Function
Parameters:
aArgs - 0 or more arguments to the function.

Formula 1.0.0

Copyright Hirondelle Systems. Published January 31, 2013