org.jscience.mathematics.analysis
Class IdentityDoubleFunction

java.lang.Object
  extended by org.jscience.mathematics.analysis.DoubleFunction
      extended by org.jscience.mathematics.analysis.IdentityDoubleFunction
All Implemented Interfaces:
java.io.Serializable, Field.Member, Ring.Member, AbelianGroup.Member, AbstractMapping, C1Function, C2Function, PrimitiveMapping, Member

public class IdentityDoubleFunction
extends DoubleFunction
implements C2Function

The identity function.

See Also:
Serialized Form

Constructor Summary
IdentityDoubleFunction()
          Constructs an identity function.
 
Method Summary
 DoubleFunction differentiate()
          DOCUMENT ME!
 double map(double x)
          DOCUMENT ME!
 DoubleFunction secondDerivative()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.mathematics.analysis.DoubleFunction
add, add, compose, cos, divide, divide, exp, getIntervalsList, inverse, log, map, map, map, multiply, multiply, negate, power, setIntervalsList, sin, sqrt, subtract, subtract, taylorExpand, tensor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityDoubleFunction

public IdentityDoubleFunction()
Constructs an identity function.

Method Detail

map

public double map(double x)
DOCUMENT ME!

Specified by:
map in interface PrimitiveMapping
Specified by:
map in class DoubleFunction
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!
See Also:
org.jscience.mathematics.analysis.IntervalList.

differentiate

public DoubleFunction differentiate()
DOCUMENT ME!

Specified by:
differentiate in interface C1Function
Specified by:
differentiate in class DoubleFunction
Returns:
DOCUMENT ME!

secondDerivative

public DoubleFunction secondDerivative()
DOCUMENT ME!

Specified by:
secondDerivative in interface C2Function
Returns:
DOCUMENT ME!