org.jscience.mathematics.analysis.expressions.symbolic
Class Atan2

java.lang.Object
  extended by org.jscience.mathematics.analysis.expressions.OperatorExpression
      extended by org.jscience.mathematics.analysis.expressions.BinaryOperator
          extended by org.jscience.mathematics.analysis.expressions.symbolic.Atan2
All Implemented Interfaces:
java.io.Serializable, Expression, JavaExpressible, XMLExpressible

public class Atan2
extends BinaryOperator

Class representing the inverse tangent function of two Expression objects.
Example of use:

 Expression x = ...;
 Expression y = ...;
 Expression e = new Atan2( y, x );
 

See Also:
BinaryOperator, Serialized Form

Field Summary
 
Fields inherited from class org.jscience.mathematics.analysis.expressions.BinaryOperator
deriv, evalValid, evalValue, secondOperand, valid
 
Fields inherited from class org.jscience.mathematics.analysis.expressions.OperatorExpression
firstOperand
 
Constructor Summary
Atan2(Expression operand1, Expression operand2)
          Creates a Atan2 object that represents the inverse tangent function of two Expression objects.
 
Method Summary
 Expression diff(NamedDataExpression x)
          DOCUMENT ME!
 boolean equals(java.lang.Object e)
          DOCUMENT ME!
 double eval()
          DOCUMENT ME!
 boolean isExpandable()
          DOCUMENT ME!
 Expression isolate(Expression f, Expression e)
          DOCUMENT ME!
 Expression optimize()
          DOCUMENT ME!
 Expression replace(Expression a, Expression b)
          DOCUMENT ME!
 java.lang.String toJava()
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 java.lang.String toXML()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.mathematics.analysis.expressions.BinaryOperator
getElements, getSecondOperand, isDifferentiable, resetNumDiff, resetNumEval, setIndex, setNumberOfIndependents, setSecondOperand, toTaylorMap
 
Methods inherited from class org.jscience.mathematics.analysis.expressions.OperatorExpression
contains, factor, getFirstOperand, isolate, setFirstOperand
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Atan2

public Atan2(Expression operand1,
             Expression operand2)
Creates a Atan2 object that represents the inverse tangent function of two Expression objects.

Parameters:
operand1 - An Expression object.
operand2 - An Expression object.
Method Detail

eval

public double eval()
DOCUMENT ME!

Returns:
DOCUMENT ME!

diff

public Expression diff(NamedDataExpression x)
DOCUMENT ME!

Specified by:
diff in interface Expression
Overrides:
diff in class BinaryOperator
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!

replace

public Expression replace(Expression a,
                          Expression b)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
b - DOCUMENT ME!
Returns:
DOCUMENT ME!

equals

public boolean equals(java.lang.Object e)
DOCUMENT ME!

Overrides:
equals in class java.lang.Object
Parameters:
e - DOCUMENT ME!
Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!

toJava

public java.lang.String toJava()
DOCUMENT ME!

Returns:
DOCUMENT ME!

isExpandable

public boolean isExpandable()
DOCUMENT ME!

Specified by:
isExpandable in interface Expression
Overrides:
isExpandable in class BinaryOperator
Returns:
DOCUMENT ME!
See Also:
Expression.isExpandable()

optimize

public Expression optimize()
DOCUMENT ME!

Returns:
DOCUMENT ME!

isolate

public Expression isolate(Expression f,
                          Expression e)
DOCUMENT ME!

Specified by:
isolate in interface Expression
Overrides:
isolate in class OperatorExpression
Parameters:
f - DOCUMENT ME!
e - DOCUMENT ME!
Returns:
DOCUMENT ME!

toXML

public java.lang.String toXML()
DOCUMENT ME!

Returns:
DOCUMENT ME!