Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Caching sagetex results

Is there a way to cache computations already done in a latex file using sagetex so that, for example, if I add a Sage code line in foo.tex when I run sage foo.sagetex.sage the computation starts from that line and not from the beginning?

The best thing would be that when one uses sagetex, Sage remembers what formulas are already computed and stored in foo.sout, and recomputes them only when they are modified. Do you think it's possible?

(Maybe there's already some cache-ing feature in Sage but I don't know how to use it...)

Thanks!

Caching sagetex results

Is there a way to cache computations already done in a latex file using sagetex so that, for example, if I add a Sage code line in foo.tex when I run sage foo.sagetex.sage the computation starts from that line and not from the beginning?

The best thing would be that when one uses sagetex, Sage remembers what formulas are already computed and stored in foo.sout, and recomputes them only when they are modified. Do you think it's possible?

(Maybe there's already some cache-ing feature in Sage but I don't know how to use it...)

Thanks!