- All Implemented Interfaces:
- ParserVisitor
public class DPrintVisitor
extends PrintVisitor
An extension of PrintVisitor which will print the equations of a variable if required.
The behaviours of this class is determined by two modes
PRINT_PARTIAL_EQNS and PRINT_VARIABLE_EQNS.
When a variable or partial derivative is encountered then
its equation may be printed.
By default equations for PartialDerivatives are printed
but equations for normal derivatives are not.
TODO might want to print eqn for y=sin(x) but not x=3