If you assign the mathematica
to a variable
in SAGE,
this does not affect the
in Mathematica.
sage: c = m(5) sage: print m('b + c x') b + c x sage: print m('b') + c*m('x') b + 5 x
The SAGE interfaces changes SAGE lists into Mathematica lists:
sage: m = mathematica sage: eq1 = m('x^2 - 3y == 3') sage: eq2 = m('2x - y == 1') sage: v = m([eq1, eq2]); v {x^2 - 3*y == 3, 2*x - y == 1} sage: v.Solve(['x', 'y']) {{y -> -1, x -> 0}, {y -> 11, x -> 6}}
See About this document... for information on suggesting changes.