JAutoDiff

nilgiri.math
Class DoubleRealFunctionFactory

java.lang.Object
  extended by nilgiri.math.DoubleRealFunctionFactory
All Implemented Interfaces:
AbstractRealFunctionFactory<DoubleReal>

public class DoubleRealFunctionFactory
extends java.lang.Object
implements AbstractRealFunctionFactory<DoubleReal>

A singleton factory for creating the fundamental functions defined on DoubleReal.


Method Summary
 DoubleReal cos(DoubleReal i_x)
          Returns an object of X whose value is cos(i_x).
 DoubleReal exp(DoubleReal i_x)
          Returns an object of X whose value is exp(i_x).
static DoubleRealFunctionFactory instance()
          Returns the singleton object of this class.
 DoubleReal log(DoubleReal i_x)
          Returns an object of X whose value is log(i_x).
 DoubleReal pow(DoubleReal i_x, DoubleReal i_y)
          Returns an object of X whose value is i_x ^ i_y.
 DoubleReal sin(DoubleReal i_x)
          Returns an object of X whose value is sin(i_x).
 DoubleReal tan(DoubleReal i_x)
          Returns an object of X whose value is tan(i_x).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static DoubleRealFunctionFactory instance()
Returns the singleton object of this class.

Returns:
the singleton object of this class.

cos

public DoubleReal cos(DoubleReal i_x)
Description copied from interface: AbstractRealFunctionFactory
Returns an object of X whose value is cos(i_x).

Specified by:
cos in interface AbstractRealFunctionFactory<DoubleReal>
Returns:
cos(i_x)

sin

public DoubleReal sin(DoubleReal i_x)
Description copied from interface: AbstractRealFunctionFactory
Returns an object of X whose value is sin(i_x).

Specified by:
sin in interface AbstractRealFunctionFactory<DoubleReal>
Returns:
sin(i_x)

tan

public DoubleReal tan(DoubleReal i_x)
Description copied from interface: AbstractRealFunctionFactory
Returns an object of X whose value is tan(i_x).

Specified by:
tan in interface AbstractRealFunctionFactory<DoubleReal>
Returns:
tan(i_x)

exp

public DoubleReal exp(DoubleReal i_x)
Description copied from interface: AbstractRealFunctionFactory
Returns an object of X whose value is exp(i_x).

Specified by:
exp in interface AbstractRealFunctionFactory<DoubleReal>
Returns:
exp(i_x)

log

public DoubleReal log(DoubleReal i_x)
Description copied from interface: AbstractRealFunctionFactory
Returns an object of X whose value is log(i_x).

Specified by:
log in interface AbstractRealFunctionFactory<DoubleReal>
Returns:
log(i_x)

pow

public DoubleReal pow(DoubleReal i_x,
                      DoubleReal i_y)
Description copied from interface: AbstractRealFunctionFactory
Returns an object of X whose value is i_x ^ i_y.

Specified by:
pow in interface AbstractRealFunctionFactory<DoubleReal>
Returns:
i_x ^ i_y

JAutoDiff

JAutoDiff website