Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Help with subs

This minimal non-working example returns an output of 'z'. I want 'z^3'! Any help?

B = FunctionField(QQ,'z') B.inject_variables() g = z g.subs(z=z^3)

Help with subs

This minimal non-working example returns an output of 'z'. I want 'z^3'! Any help?

B = FunctionField(QQ,'z')
B.inject_variables()
g = z
g.subs(z=z^3)

g.subs(z=z^3)