fr.ove.openmath.jome.model
Class Differentiation

java.lang.Object
  extended byfr.ove.openmath.jome.model.Node
      extended byfr.ove.openmath.jome.model.FormulaTreeStructure
          extended byfr.ove.openmath.jome.model.Operator
              extended byfr.ove.openmath.jome.model.NaryOperator2
                  extended byfr.ove.openmath.jome.model.Function
                      extended byfr.ove.openmath.jome.model.Differentiation
All Implemented Interfaces:
java.lang.Cloneable, Comparable, ControlListener, java.util.EventListener, Iconifiable, Maskable, Modifiable, java.io.Serializable

public class Differentiation
extends Function

The differentiation operator.
The first child corresponds to the function. The next child(ren) to the bound variable(s).

Version:
2.1 10/01/2000
Author:
© 2000 DIRAT Laurent
See Also:
Serialized Form

Constructor Summary
Differentiation()
           
 
Method Summary
 FormulaTreeStructure addElement()
          Adds a new element (template) to the end of the list.
 void computeOrder()
          Computes the order of the differentiation.
 java.lang.String createLinear(java.lang.String linear)
          The Creation of the corresponding linear expression of the formula.
 int getOrder()
          Returns the order of the differentiation.
 FormulaTreeStructure insert(FormulaTreeStructure current)
          Inserts the instance in the formula tree structure.
 boolean isPartial()
          Returns true if the instance represents a partial differentiation.
 void setIsPartial(boolean isPartial)
          Sets if the instance repressents a partial differentiation
 
Methods inherited from class fr.ove.openmath.jome.model.Function
getValue, setValue
 
Methods inherited from class fr.ove.openmath.jome.model.NaryOperator2
evaluate, getEnding, setEnding
 
Methods inherited from class fr.ove.openmath.jome.model.Operator
getTheOperator, isOperator, setTheOperator
 
Methods inherited from class fr.ove.openmath.jome.model.FormulaTreeStructure
addModelListener, consumeControlEvent, findLocation, fireModelEvent, getAreOperandsMovable, getAsOperandPriority, getAsOperatorPriority, getCrossRef, getIconName, getListeners, getResourceIdentifier, goTo, iconify, isEqual, isGreater, isGreaterOrEqual, isIcon, isIconifiable, isLesser, isLesserOrEqual, isTemplate, isVisible, moveOperands, removeAllModelListener, removeModelListener, setAreOperandsMovable, setAsOperandPriority, setAsOperatorPriority, setCrossRef, setIconName, setIsIconifiable, setIsTemplate, setIsVisble, setResourceIdentifier, uniconify, uniconifyAll
 
Methods inherited from class fr.ove.openmath.jome.model.Node
addChild, addChild, clone, computeDepth, computeNbStrahler, duplicate, getChild, getChildren, getDepth, getFather, getNbChildren, getNbStrahler, getRank, hasChild, moveChildren, removeAll, removeChild, removeChild, setFather, setNbStrahler
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Differentiation

public Differentiation()
Method Detail

isPartial

public boolean isPartial()
Returns true if the instance represents a partial differentiation. false otherwise.


setIsPartial

public void setIsPartial(boolean isPartial)
Sets if the instance repressents a partial differentiation

Parameters:
isPartial - true if the instance represents a partial differentiation. false otherwise.

insert

public FormulaTreeStructure insert(FormulaTreeStructure current)
Inserts the instance in the formula tree structure.

Overrides:
insert in class NaryOperator2
Parameters:
current - the position in the formula tree where the operator is to be insert.
Returns:
the new current position int hte formula tree.

computeOrder

public void computeOrder()
Computes the order of the differentiation.


getOrder

public int getOrder()
Returns the order of the differentiation.

Returns:
an positive number if the order is a numeric evaluation, 0 otherwise.

addElement

public FormulaTreeStructure addElement()
Adds a new element (template) to the end of the list. Returns the new element.

Overrides:
addElement in class NaryOperator2

createLinear

public java.lang.String createLinear(java.lang.String linear)
The Creation of the corresponding linear expression of the formula.

Overrides:
createLinear in class NaryOperator2


Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.