jsci.maths.analysis
Class Cosine
- java.lang.Object
-
- jsci.maths.analysis.RealFunction
-
- jsci.maths.analysis.Cosine
-
- All Implemented Interfaces:
- java.io.Serializable, Ring.Member, AbelianGroup.Member, Mapping, Member
public class Cosine extends RealFunction
The cosine function.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Cosine()Constructs a cosine function of the formcos(x).Cosine(double A, double w, double k)Constructs a cosine function of the formA cos(wx+k).
-
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
-
Cosine
public Cosine()
Constructs a cosine function of the formcos(x).
-
Cosine
public Cosine(double A, double w, double k)Constructs a cosine function of the formA cos(wx+k).
-
-
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