Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Prevent Sage from executing symbolic computation


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?