org.jscience.mathematics.analysis
Class ExactRealFunction

java.lang.Object
  extended by org.jscience.mathematics.analysis.ExactRealFunction
All Implemented Interfaces:
java.io.Serializable, Field.Member, Ring.Member, AbelianGroup.Member, AbstractMapping, C1Function, NumberMapping, Member
Direct Known Subclasses:
ExactRealPolynomial, ExactRealPolynomialFraction

public abstract class ExactRealFunction
extends java.lang.Object
implements NumberMapping, C1Function, Field.Member

This class describes a function on the real numbers.

See Also:
Serialized Form

Constructor Summary
ExactRealFunction()
           
 
Method Summary
 AbelianGroup.Member add(AbelianGroup.Member f)
          Returns the addition of this function and another.
 ExactRealFunction add(ExactRealFunction f)
          DOCUMENT ME!
 ExactRealFunction compose(ExactRealFunction f)
          DOCUMENT ME!
abstract  ExactRealFunction differentiate()
          Returns the differential of this function.
 ExactRealFunction divide(ExactRealFunction f)
          DOCUMENT ME!
 Field.Member divide(Field.Member f)
          Returns the quotient of this function and another.
 IntervalsList getIntervalsList()
          DOCUMENT ME!
 Field.Member inverse()
          Returns this function inverse.
abstract  ExactReal map(ExactReal x)
          DOCUMENT ME!
 java.lang.Number map(java.lang.Number x)
          DOCUMENT ME!
 ExactRealFunction multiply(ExactRealFunction f)
          DOCUMENT ME!
 Ring.Member multiply(Ring.Member f)
          Returns the multiplication of this function and another.
 AbelianGroup.Member negate()
          Returns the negative of this function.
 void setIntervalsList(IntervalsList list)
          DOCUMENT ME!
 AbelianGroup.Member subtract(AbelianGroup.Member f)
          Returns the subtraction of this function and another.
 ExactRealFunction subtract(ExactRealFunction f)
          DOCUMENT ME!
 ExactRealPolynomial taylorExpand(ExactReal a, int n)
          Returns the Taylor expansion of this function about a point.
 ExactRealFunction2D tensor(ExactRealFunction f)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExactRealFunction

public ExactRealFunction()
Method Detail

map

public java.lang.Number map(java.lang.Number x)
DOCUMENT ME!

Specified by:
map in interface NumberMapping
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!
See Also:
org.jscience.mathematics.analysis.Domain.

map

public abstract ExactReal map(ExactReal x)
DOCUMENT ME!

Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!

differentiate

public abstract ExactRealFunction differentiate()
Returns the differential of this function.

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

getIntervalsList

public IntervalsList getIntervalsList()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setIntervalsList

public void setIntervalsList(IntervalsList list)
DOCUMENT ME!

Parameters:
list - DOCUMENT ME!

compose

public ExactRealFunction compose(ExactRealFunction f)
DOCUMENT ME!

Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!

negate

public AbelianGroup.Member negate()
Returns the negative of this function.

Specified by:
negate in interface AbelianGroup.Member
Returns:
DOCUMENT ME!

add

public AbelianGroup.Member add(AbelianGroup.Member f)
Returns the addition of this function and another.

Specified by:
add in interface AbelianGroup.Member
Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

add

public ExactRealFunction add(ExactRealFunction f)
DOCUMENT ME!

Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!

subtract

public AbelianGroup.Member subtract(AbelianGroup.Member f)
Returns the subtraction of this function and another.

Specified by:
subtract in interface AbelianGroup.Member
Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

subtract

public ExactRealFunction subtract(ExactRealFunction f)
DOCUMENT ME!

Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!

multiply

public Ring.Member multiply(Ring.Member f)
Returns the multiplication of this function and another.

Specified by:
multiply in interface Ring.Member
Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

multiply

public ExactRealFunction multiply(ExactRealFunction f)
DOCUMENT ME!

Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!

inverse

public Field.Member inverse()
Returns this function inverse.

Specified by:
inverse in interface Field.Member
Returns:
DOCUMENT ME!

divide

public Field.Member divide(Field.Member f)
Returns the quotient of this function and another.

Specified by:
divide in interface Field.Member
Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

divide

public ExactRealFunction divide(ExactRealFunction f)
DOCUMENT ME!

Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!

tensor

public ExactRealFunction2D tensor(ExactRealFunction f)
DOCUMENT ME!

Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!

taylorExpand

public ExactRealPolynomial taylorExpand(ExactReal a,
                                        int n)
Returns the Taylor expansion of this function about a point.

Parameters:
a - the point at which to expand about.
n - the number of terms to expand to.
Returns:
the Taylor series of f(x+a).