New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pynac -- add _polynomial_ conversion constructor #5763
Comments
comment:1
Attachment: trac_5763-symbolic-polynomial.patch.gz Thanks Nick! The patch looks great, I am looking at the doctests right now. Note that #5753 fixes the coercion of constants to pynac, so you can use I will see what I can do about the doctest failures, and hopefully post a patch fixing them soon. |
comment:2
In fact, you can make the doctest works by changing the if is_constant check to coerce the pyobject in. It's a one line fix that I haven't posted here, it works well for me in practice. |
comment:3
This patch seems to have been forgotten during the "pynac push." I recall that it was briefly mentioned on IRC once. I suggest closing this issue as wontfix now. Trac doesn't allow me close tickets any more. |
comment:4
This isn't critical for 4.0. |
comment:5
The docstring should adhere to ReST formatting. Some examples follow this rule, but most don't. I'm merely enforcing proper ReST formatting, not actually reviewing the whole patch. |
comment:6
This should have been marked as a negative review. |
comment:7
I think we can close this as invalid as all of the doctests in the patch currenly pass. |
The attached patch adds conversion to polynomial rings. Two doctests fail at this time; they rely on being able to convert to CDF and ComplexField(100). I didn't want them to get forgotten so I left them in.
CC: @burcin @mwhansen @williamstein
Component: symbolics
Keywords: pynac symbolics polynomial constructor
Issue created by migration from https://trac.sagemath.org/ticket/5763
The text was updated successfully, but these errors were encountered: