org.jscience.mathematics.analysis.expressions
Class Parameter

java.lang.Object
  extended by org.jscience.mathematics.analysis.expressions.DataExpression
      extended by org.jscience.mathematics.analysis.expressions.NamedDataExpression
          extended by org.jscience.mathematics.analysis.expressions.Parameter
All Implemented Interfaces:
java.io.Serializable, Expression, NumericalDifferentiable, JavaExpressible, Named, XMLExpressible

public class Parameter
extends NamedDataExpression

Class representing a Parameter object.

See Also:
Expression, NamedDataExpression, Constant, Variable, Serialized Form

Field Summary
 
Fields inherited from class org.jscience.mathematics.analysis.expressions.NamedDataExpression
name
 
Fields inherited from class org.jscience.mathematics.analysis.expressions.DataExpression
value
 
Constructor Summary
Parameter(java.lang.String name)
          Creates a Parameter object.
Parameter(java.lang.String name, double x)
          Creates a Parameter object.
 
Method Summary
 java.lang.Object clone()
          DOCUMENT ME!
 boolean equals(java.lang.Object e)
          DOCUMENT ME!
 Expression optimize()
          DOCUMENT ME!
 Expression replace(Expression a, Expression b)
          DOCUMENT ME!
 java.lang.String toTaylorMap()
          DOCUMENT ME!
 java.lang.String toXML()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.mathematics.analysis.expressions.NamedDataExpression
diff, getName, numDiff, numEval, resetNumDiff, resetNumEval, setIndex, setName, setNumberOfIndependents, setValue, toJava, toString
 
Methods inherited from class org.jscience.mathematics.analysis.expressions.DataExpression
contains, eval, factor, getElements, isDifferentiable, isExpandable, isolate, isolate
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(java.lang.String name,
                 double x)
Creates a Parameter object.

Parameters:
name - The name the Parameter object should be characterized by.
x - The value the Parameter object should have if evaluated.
Since:
1.0

Parameter

public Parameter(java.lang.String name)
Creates a Parameter object.

Parameters:
name - The name the Parameter object should be characterized by.
Since:
1.0
Method Detail

replace

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

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

optimize

public Expression optimize()
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!

clone

public java.lang.Object clone()
DOCUMENT ME!

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

toTaylorMap

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

Returns:
DOCUMENT ME!

toXML

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

Returns:
DOCUMENT ME!