Open videlec opened 5 years ago
Does pari have a way to set variable names, or does it have any other way of identifying variables?
I think we can make this consistent and more useful.
In general, since PARI and GAP support different coefficient domains, I don't think this conversion will always be useful / possible. In other similar situations (interfacing one computer algebra system from another) it turned out that for practical computations, you almost never perform conversions, and those usually only happen at the start (to generate input) and the end, i.e., they don't need to be very efficient. Instead, it's better to keep data in the external system, and process it here.
Specifically:
Value
to evaluate PARI polynomials might be niceAll in all, I usually would avoid any "default" conversions, other than in very specific special cases where they really make sense.
For now, conversion to pari polynomials are converted into vectors
It would be nicer if we would get back the original
Also, conversion to pari polynomials forget about variable names
If there is no workaround, that should be properly documented.