rewrite in jet notation a mathematical expression written in function notation
rewrite in function notation a mathematical expression written in jet notation
ToJet(expr, DepVars, notation = ...)
FromJet(expr, DepVars, differentiationnotation = ...)
algebraic expression or equation
function or list of functions indicating the dependent variables of the problem
differentiationnotation = ...
(optional) can be diff (default), Diff, or D; specifies the derivative notation to return
notation = ...
(optional) can be jet (default), tjet, diff, or Diff; specifies the jet notation to return
The ToJet and FromJet commands rewrite mathematical expressions back and forth using jet and function notation respectively.
For ToJet, the option notation can be used to select the jet notation. The possible values are jet and tjet, respectively corresponding to the notations jetvariables and jetvariableswithbrackets explained in the help page of the equivalent PDEtools[ToJet] command.
For FromJet, the option differentiationnotation can be used to select the notation used for derivatives. The possible values are diff, Diff and D, explained in the help page of the equivalent PDEtools[FromJet] command.
with(DifferentialAlgebra:-Tools, ToJet, FromJet);
DepVars := [u(x,t), v(t), w(y)];
PDE := diff(u(x,t)*v(t)*w(y),x) + diff(u(x,t)*v(t)*w(y),t,y);
The following is PDE in jet notation
jet_PDE := ToJet(PDE, DepVars);
This is PDE in tjet notation, or jet notation with brackets
tjet_PDE := ToJet(PDE, DepVars, notation = tjet);
You can express jet_PDE and tjet_PDE in function notation, using diff, Diff, or D for expression the derivatives. By default diff notation is used.
FromJet(jet_PDE, DepVars, differentiationnotation = 'Diff');
FromJet(jet_PDE, DepVars, differentiationnotation = 'D');
Download Help Document
What kind of issue would you like to report? (Optional)