Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 1 year ago

Max Alekseyev gravatar image

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] } )
click to hide/show revision 2
No.2 Revision

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] } )