org.jscience.mathematics.analysis.taylor
Class TaylorUnary

java.lang.Object
  extended by org.jscience.mathematics.analysis.taylor.TaylorDouble
      extended by org.jscience.mathematics.analysis.taylor.TaylorUnary
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TaylorCos, TaylorExp, TaylorLog, TaylorNegate, TaylorPow, TaylorSin, TaylorSqrt

public abstract class TaylorUnary
extends TaylorDouble

The abstract superclass for functions of one TaylorDouble variable.

See Also:
Serialized Form

Field Summary
 TaylorDouble operand
          The operand of this unary operator.
 
Fields inherited from class org.jscience.mathematics.analysis.taylor.TaylorDouble
coeffs, constant, independent, order
 
Constructor Summary
TaylorUnary(TaylorDouble op)
          Default constructor for functions of one variable.
 
Method Summary
 void reset()
          Signal shift of expansion point.
 
Methods inherited from class org.jscience.mathematics.analysis.taylor.TaylorDouble
calcOrder, evaluate, expandToOrder, flops, getCoeff, getOrder, setToLength, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

operand

public TaylorDouble operand
The operand of this unary operator.

Constructor Detail

TaylorUnary

public TaylorUnary(TaylorDouble op)
Default constructor for functions of one variable.

Method Detail

reset

public void reset()
Signal shift of expansion point.

All current coefficients of this and the operand are expected to be invalid, so order is set to -1.

Notice: if order is -1, corresponding to a newly reset of this, nothing is done, and the operand is thus not guaranteed to be reset!

Specified by:
reset in class TaylorDouble