-
-
Notifications
You must be signed in to change notification settings - Fork 661
Closed
Milestone
Description
The Sage equivalent of SymPy's CRootOf
(=ComplexRootOf
) is missing, which is just a symbolic placeholder for a solution that cannot be displayed symbolically.
sage: from sympy import solve as ssolve
sage: ssolve(x^6+x+1, x)
[CRootOf(x**6 + x + 1, 0),
CRootOf(x**6 + x + 1, 1),
CRootOf(x**6 + x + 1, 2),
CRootOf(x**6 + x + 1, 3),
CRootOf(x**6 + x + 1, 4),
CRootOf(x**6 + x + 1, 5)]
sage: (_[0]+1)._sage_()
...
AttributeError: 'ComplexRootOf' object has no attribute '_sage_'
Defect because conversion from SymPy fails.
A possible solution for #11941 depends on this.
Depends on #24062
Component: symbolics
Author: Ralf Stephan
Branch: ba171aa
Reviewer: Emmanuel Charpentier
Issue created by migration from https://trac.sagemath.org/ticket/22024