## Package visad.formula

Provides an interface for automatically evaluating formulas based on user-defined operators and functions.

See:
Description

Class Summary
FormulaManager: The FormulaManager class is the gateway into the visad.formula package, a general-purpose formula parser and evaluator.
FormulaUtil: Contains a variety of useful methods related to the visad.formula package.
FormulaVar: Represents a variable.
Postfix: represents a formula in postfix notation.
VMethod: Thing wrapper for java.lang.reflect.Method.
VRealType: Thing wrapper for visad.RealType.

Exception Summary
FormulaException: The type of exception thrown by the formula package.

## Package visad.formula Description

Provides an interface for automatically evaluating formulas based on user-defined operators and functions. The VisAD formula package is accessed through the FormulaManager class. The constructor for the FormulaManager class takes user-defined operators, operator precedences, and functions as arguments. Then, variables can be bound to pre-existing ThingReferences with the FormulaManager.createVar() method, bound to formulas with the FormulaManager.assignFormula() method, or set directly with the FormulaManager.setThing() method. The FormulaManager.getThing() method returns the current value of a variable, and the FormulaManager.remove() method deletes a variable. Variables update automatically when the variables upon which they depend change. For an example of usage, see the visad.ss package.