jsci.maths.analysis
Class Power
- java.lang.Object
-
- jsci.maths.analysis.RealFunction
-
- jsci.maths.analysis.Power
-
- All Implemented Interfaces:
- java.io.Serializable, Ring.Member, AbelianGroup.Member, Mapping, Member
public class Power extends RealFunction
The power function. For polynomials or integer exponents use the classes in JSci.maths.polynomials.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Power()Constructs a power function of the formx.Power(double A, double n)Constructs a power function of the formAxn.Power(double A, double k, double n)Constructs a power function of the formA(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
-
Power
public Power()
Constructs a power function of the formx.
-
Power
public Power(double A, double n)Constructs a power function of the formAxn.
-
Power
public Power(double A, double k, double n)Constructs a power function of the formA(x+k)n.
-
-
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