JSci.maths.analysis
Class Tangent

java.lang.Object
  extended by JSci.maths.analysis.RealFunction
      extended by JSci.maths.analysis.Tangent
All Implemented Interfaces:
java.io.Serializable, Ring.Member, AbelianGroup.Member, Mapping, Member

public class Tangent
extends RealFunction

The tangent function.

See Also:
Serialized Form

Constructor Summary
Tangent()
          Constructs a tangent function of the form tan(x).
Tangent(double A, double w, double k)
          Constructs a tangent function of the form A tan(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

Tangent

public Tangent()
Constructs a tangent function of the form tan(x).


Tangent

public Tangent(double A,
               double w,
               double k)
Constructs a tangent function of the form A tan(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