jsci.maths.analysis
Class Exponential
- java.lang.Object
-
- jsci.maths.analysis.RealFunction
-
- 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
Constructors Constructor and Description Exponential()Constructs an exponential function of the formexp(x).Exponential(double A, double w, double k)Constructs an exponential function of the formA exp(w(x+k)).Exponential(double A, double w, double k, double n)Constructs an exponential function of the formA exp(w(x+k)n).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description RealFunctiondifferentiate()Returns the differential of this function.doublemap(double x)A user-defined function.
-
-
-
Constructor Detail
-
Exponential
public Exponential()
Constructs an exponential function of the formexp(x).
-
Exponential
public Exponential(double A, double w, double k)Constructs an exponential function of the formA exp(w(x+k)).
-
Exponential
public Exponential(double A, double w, double k, double n)Constructs an exponential function of the formA exp(w(x+k)n). Constructor to create Gaussian functions.
-
-
Method Detail
-
map
public double map(double x)
Description copied from interface:MappingA user-defined function.
-
differentiate
public RealFunction differentiate()
Description copied from class:RealFunctionReturns the differential of this function.- Specified by:
differentiatein classRealFunction
-
-
DMelt 3.0 © DataMelt by jWork.ORG