>
|
|
Let U and V be the "differentiation tables" of and , that is, handy representations for these objects and their derivatives.
>
|
|
>
|
|
You can now input the functions or or any of its partial derivatives using mathematical notation directly, resulting in the expected expression on output.
>
|
|
| (1) |
diff_table can be used simultaneously with PDEtools[declare] so that both input and output are simplified while the actual contents of the expressions generated is the standard expected one. For example, calling declare with ,
>
|
|
| |
| (2) |
the output corresponding to input entered using is displayed using the same mathematical notation
>
|
|
| (3) |
The actual contents of this expression is the expected one. (See lprint and show.)
u(x,y,t)*diff(v(x,y,t),x)+diff(u(x,y,t),x)*v(x,y,t)+diff(u(x,y,t),x)+diff(diff(diff(u(x,y,t),x),x),y)+diff(v(x,y,t),t)
| |
| (4) |