0
When I use PDEtools in Maple10 to get subscript notation of derivatives it works for equations that are assigned to another variable name. It does not work for equations that are referred to only by their Maple10-generated equation numbers. The sample case below shows the problem. It is an edited Maple-text version. I tried uploading the file, but neither Live Worksheet or HTML copy correctly display. Live Worksheet apparently doesn't access PDEtools, and the HTML copy can't handle equation number references. I can supply the test file to any one who wants it.
------------------------------------------------------------------------------
> restart;
# Use PDEtools to get subscript notation for derivatives and hide dependence of f[1] on (x,y,z).
> (PDEtools[declare])((f[1])(x, y, z));
f(x, y, z) will now be displayed as f -------- (1)
> alias(f[1] = (f[1])(x, y, z));
> macro(f1 = (f[1])(x, y, z));
show, ON, OFF, f[1], f1 -------- (2)
# Display f[1] with explicit dependence on (x,y,z) hidden.
> f1;
f[1] -------- (3)
# Differentiation of f[1] leads to subscript notation for derivative with explicit dependence on (x,y,z) hidden.
> diff(f1, x);
f[1,x] -------- (4)
# Define an equation for f[1] and assign it to Eqn1.
> Eqn1 := f1 = x*y*z;
Eqn1 := f[1] = x y z -------- (5)
# Differentiate Eqn1 leads to subscript notation for derivative on the LHS of the equation with explicit dependence on (x,y,z) hidden.
> diff(Eqn1, x);
f[1,x] = y z -------- (6)
# Differentiating Eqn1 by referring to its Maple10-produced equation number **(5)** leads to the D[1] notation for the derivative of f[1] and the explicit dependence of f[1] on (x,y,z) is shown.
> diff(**(5)**);
D[1](f[1](x, y, z))(x, y, z) = y z -------- (7)
# Redefine equation for f[1] under Maple10 without assigning it to another variable. It is only referred to by its Maple-produced equation number **(8)**
> f1 = x*y*z;
f[1] = x y z -------- (8)
# Differentiating Maple10 equation number **(8)** leads to the D[1] notation for the derivative of f[1] and the explicit dependence of f[1] on (x,y,z) is shown.
> diff(**(8)**);
D[1](f[1](x, y, z))(x, y, z) = y z -------- (9)
# Differentiating just the LHS of Eqn1 gives the subscript notation of the derivative and dependence on (x,y,z) is hidden.
> diff(lhs(Eqn1), x);
f[1,x] -------- (10)
# Differentialing the LHS of Maple-produced equation number **(8)** leads to the D[1] notation for the derivative of f[1] and the explicit dependence of f[1] on (x,y,z) is shown.
> diff(lhs(**(8)**), x);
D[1](f[1](x, y, z))(x, y, z) -------- (11)
---------------------------------------------------------------------------------------------------------------------------
Does any one know how to get the PDEtools subscript notation for derivatives when working with equations that are referenced only by their Maple10-generated equation numbers?
Any help would be greatly appreciated. Thanks.
Neill Smith