|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFunction
BinaryOperator
Div
public class Div
f(x) = g(x) / h(x), où g et h sont les sous-arbres gauche et droit.
Field Summary |
---|
Fields inherited from class BinaryOperator |
---|
leftSon, rightSon |
Method Summary | |
---|---|
Function |
derivate()
Retourne la dérivée. |
double |
evaluate(double x)
Retourne l'image de x. |
Function |
simplify()
Retourne la fonction simplifiée. |
char |
toChar()
Retourne l'opérateur binaire sous forme de caractère ('+' pour une addition '-' pour une soustraction, etc). |
Methods inherited from class BinaryOperator |
---|
isConstant, isOne, isZero, simplifySubTrees, toString |
Methods inherited from class Function |
---|
integrate, main |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public char toChar()
BinaryOperator
toChar
in class BinaryOperator
public double evaluate(double x)
Function
evaluate
in class Function
public Function derivate()
Function
derivate
in class Function
public Function simplify()
Function
simplify
in class Function
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |