Class TaylorBinary

  extended by org.jscience.mathematics.analysis.taylor.TaylorDouble
      extended by org.jscience.mathematics.analysis.taylor.TaylorBinary
All Implemented Interfaces:
Direct Known Subclasses:
TaylorAdd, TaylorDivide, TaylorMultiply, TaylorSubtract

public abstract class TaylorBinary
extends TaylorDouble

The abstract superclass for functions of two TaylorDouble variables.

See Also:
Serialized Form

Field Summary
protected  TaylorDouble leftOperand
          The left operand of this binary operator.
protected  TaylorDouble rightOperand
          The right operand of this binary operator.
Fields inherited from class org.jscience.mathematics.analysis.taylor.TaylorDouble
coeffs, constant, independent, order
Constructor Summary
TaylorBinary(TaylorDouble leftOp, TaylorDouble rightOp)
          Default constructor for functions of two variables.
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


protected TaylorDouble leftOperand
The left operand of this binary operator.


protected TaylorDouble rightOperand
The right operand of this binary operator.

Constructor Detail


public TaylorBinary(TaylorDouble leftOp,
                    TaylorDouble rightOp)
Default constructor for functions of two variables.

Method Detail


public void reset()
Signal shift of expansion point.

All current coefficients of this, and operands 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 operands are thus not guaranteed to be reset!

Specified by:
reset in class TaylorDouble