DifferentialAlgebra[Tools]
ToJet
rewrite in jet notation a mathematical expression written in function notation
FromJet
rewrite in function notation a mathematical expression written in jet notation
Calling Sequence
Parameters
Description
Examples
ToJet(expr, DepVars, notation = ...)
FromJet(expr, DepVars, differentiationnotation = ...)
expr
-
algebraic expression or equation
DepVars
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
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
PDE≔∂∂xu⁡x,t⁢v⁡t⁢w⁡y+∂∂tu⁡x,t⁢v⁡t⁢ⅆⅆyw⁡y+u⁡x,t⁢ⅆⅆtv⁡t⁢ⅆⅆyw⁡y
The following is PDE in jet notation
jet_PDE≔ToJet⁡PDE,DepVars
jet_PDE≔u⁢vt⁢wy+v⁢w⁢ux+v⁢ut⁢wy
This is PDE in tjet notation, or jet notation with brackets
tjet_PDE≔ToJet⁡PDE,DepVars,notation=tjet
tjet_PDE≔u⁢vt⁢wy+ut⁢v⁢wy+ux⁢v⁢w
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
∂∂xu⁡x,t⁢v⁡t⁢w⁡y+∂∂tu⁡x,t⁢v⁡t⁢ⅆⅆyw⁡y+u⁡x,t⁢ⅆⅆtv⁡t⁢ⅆⅆyw⁡y
FromJet⁡jet_PDE,DepVars,differentiationnotation=Diff
FromJet⁡jet_PDE,DepVars,differentiationnotation=D
D1⁡u⁡x,t⁢v⁡t⁢w⁡y+D2⁡u⁡x,t⁢v⁡t⁢D⁡w⁡y+u⁡x,t⁢D⁡v⁡t⁢D⁡w⁡y
See Also
DifferentialAlgebra
PDEtools[FromJet]
PDEtools[ToJet]
Download Help Document