JSci.maths.analysis
Class Exponential

java.lang.Object
  extended by JSci.maths.analysis.RealFunction
      extended by JSci.maths.analysis.Exponential
All Implemented Interfaces:
java.io.Serializable, Ring.Member, AbelianGroup.Member, Mapping, Member

public class Exponential
extends RealFunction

The exponential function.

See Also:
Serialized Form

Constructor Summary
Exponential()
          Constructs an exponential function of the form exp(x).
Exponential(double A, double w, double k)
          Constructs an exponential function of the form A exp(w(x+k)).
Exponential(double A, double w, double k, double n)
          Constructs an exponential function of the form A exp(w(x+k)n).
 
Method Summary
 RealFunction differentiate()
          Returns the differential of this function.
 double map(double x)
          A user-defined function.
 
Methods inherited from class JSci.maths.analysis.RealFunction
add, add, compose, constant, dimension, divide, divide, getSet, inverse, multiply, multiply, negate, subtract, subtract, taylorExpand, tensor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exponential

public Exponential()
Constructs an exponential function of the form exp(x).


Exponential

public Exponential(double A,
                   double w,
                   double k)
Constructs an exponential function of the form A exp(w(x+k)).


Exponential

public Exponential(double A,
                   double w,
                   double k,
                   double n)
Constructs an exponential function of the form A exp(w(x+k)n). Constructor to create Gaussian functions.

Method Detail

map

public double map(double x)
Description copied from interface: Mapping
A user-defined function.


differentiate

public RealFunction differentiate()
Description copied from class: RealFunction
Returns the differential of this function.

Specified by:
differentiate in class RealFunction