Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Besides providing variable values as arguments suggested by @FrédéricC, one can use method .subs(), which allow arbirary or partial substitution - for example:

r1.subs( { a[1]:2, a[4]:2*a[2]+a[3] } )

Besides providing variable values as arguments suggested by @FrédéricC, one can use method .subs(), which allow arbirary arbitrary or partial substitution - for example:

r1.subs( { a[1]:2, a[4]:2*a[2]+a[3] } )