Prevent Sage from executing symbolic computation
Hi.
I would like to ask Sage not to perform a certain symbolic computation until I tell it to. This is because I would like first to show with view
the thing I am typing, and then execute it later. So, for instance, I would like something like
sage: view(noexec(sum(1/k^4, k, 1, oo)))
(which should show the summation formula without executing it) and
sage: view(sum(1/k^4, k, 1, oo))
(which should show the result, as it actually does).
Is this possible?
I notice that some operations have a
hold
property that does it. Butsum
apparently has not. Is there a general solution?What's about typesetting the expression with latex?
Sure, that's a possibility, but I hoped not having to type the expression twice (my main aim was actually that of proof reading expressions in a more natural writing). Thanks anyway!