What do you mean by complex coefficients?
I can think of several meanings:
1. You want to know if any of the coefficients has non-zero imaginary part.
2. You want to know that all of the coefficients represent complex
numbers and not something else like matrices.
3. You want to know that the coefficients are concrete numbers like
1+I rather than symbols like Symbol('x', complex=True)
Also when you say polynomial do you mean a `Poly` or an `Expr` that is
polynomial in some symbol?
Show a bit of code that gives an example of what you would like to be
able to do.
--
Oscar
On Sun, 19 Jan 2020 at 10:24, Risubh Jain <
risubhj...@gmail.com> wrote:
>
> What is the correct way of checking if a polynomial has complex coefficients?
>
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sympy+un...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/d5424af8-9fcd-4a4e-bed9-8d3ab611c86f%40googlegroups.com.