Formula 1.0.0

hirondelle.formula.function.builtin
Class Power

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

public final class Power
extends Object
implements Function

pow(x,y): raise x to the power y.

pow(x,y) is the same as x^y.


Constructor Summary
Power()
           
 
Method Summary
 Decimal calculate(Decimal... aArgs)
          The first argument is the base, and the second argument is the exponent.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Power

public Power()
Method Detail

calculate

public Decimal calculate(Decimal... aArgs)
The first argument is the base, and the second argument is the exponent.

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