JSci.maths.analysis
Class Sine

java.lang.Object
  extended by JSci.maths.analysis.RealFunction
      extended by 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
Sine()
          Constructs a sine function of the form sin(x).
Sine(double A, double w, double k)
          Constructs a sine function of the form A sin(wx+k).
 
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

Sine

public Sine()
Constructs a sine function of the form sin(x).


Sine

public Sine(double A,
            double w,
            double k)
Constructs a sine function of the form A sin(wx+k).

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