[Numpy-discussion] Re: Suggestions for changes to the polynomial module

2023-08-29 Thread jsdodge
Hi Pieter, Thanks for pointing this PR out. That certainly fixes the immediate problem with the inconsistent print statements that I highlighted in my original message. It doesn't address the more fundamental problem, though, which is that the default behavior is to represent the polynomial in

[Numpy-discussion] Re: Suggestions for changes to the polynomial module

2023-08-28 Thread Pieter Eendebak
Hi Steve, The representation of the polynomials without including the domain is indeed confusing. In https://github.com/numpy/numpy/pull/21760 the representation is changed to avoid this. Would this representation work for you, or are there better representations? With kind regards, Pieter Eendeb

[Numpy-discussion] Re: Suggestions for changes to the polynomial module

2023-08-28 Thread jsdodge
To follow up on these comments, an enhancement proposal (https://github.com/numpy/numpy/pull/20889), which would enable numpy.polynomial.polynomial.polyfit to return the covariance matrix, appears to be moving forward. This is great news, and addresses item (1) of my previous message. After th