Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to read a file which has rational functions?

I have a large file which has rational functions and I would like to read it to Sagemath. The first two lines are

[[[4, -1]], (x7 + x20)/x19]
[[[4, -3], [4, -1]], (x8*x19 + x7*x21 + x20*x21)/(x19*x20)]

When I tried to read it, sagemath said that x_i's are not defined. Thank you very much!