Formula 1.0.0

hirondelle.formula.function.builtin
Class Cosine

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

public final class Cosine
extends Object
implements Function

cos(x): the cosine of an angle.


Constructor Summary
Cosine()
           
 
Method Summary
 Decimal calculate(Decimal... aArgs)
          The argument is in radians.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cosine

public Cosine()
Method Detail

calculate

public Decimal calculate(Decimal... aArgs)
The argument is in radians.

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