You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a brand new user on Github and therefore sorry if it is not how I'm expected to use this topic.
Your package seems very useful and I thank you for implementing all of that. However, I'm finding an error when dividing a polynomial by another. Using "/", "%" and "divmod" all end up in an error : AttributeError: module 'numpy' has no attribute 'broadcast_shapes'
Do you have any idea what in the division functions could end up in such an error ? I tried with elements of the 'numpoly.baseclass.ndpoly' class of different lengths, and none worked. Note that the same error appears when using the symbol "*".
Thank you,
Archer
The text was updated successfully, but these errors were encountered:
I'm using Python 3.8, Numpy 1.19, and Numpoly 1.2.3 .
Thank you for answering, I'm really interested in knowing what my mistake can be and how to solve this error. I however found a solution to achieve my program, using the "traditional" functions of Numpy.polynomial with arrays of coefficients rather than Polynomials class. I don't know if this solution I found can help you to understand my mistakes with Numpoly (which I'd really like to use for further projects).
Hi,
I'm a brand new user on Github and therefore sorry if it is not how I'm expected to use this topic.
Your package seems very useful and I thank you for implementing all of that. However, I'm finding an error when dividing a polynomial by another. Using "/", "%" and "divmod" all end up in an error :
AttributeError: module 'numpy' has no attribute 'broadcast_shapes'
Do you have any idea what in the division functions could end up in such an error ? I tried with elements of the 'numpoly.baseclass.ndpoly' class of different lengths, and none worked. Note that the same error appears when using the symbol "*".
Thank you,
Archer
The text was updated successfully, but these errors were encountered: