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