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

2023-08-28 Thread jsdodge
Hello, Since this is my first post to this group, I want to start by expressing my appreciation for the work that everyone has done to develop and maintain NumPy. Your work enabled me to adopt a fully open-source workflow in my research, after being a MATLAB user since v4. The quality of the Nu

[Numpy-discussion] [NEP 52] Introduction of `array_utils` public namespace in `np.lib` submodule

2023-08-28 Thread Mateusz Sokol
Hi all! The two most important goals of NEP 52 are cleanups of the top `np` namespace and `np.lib` namespace. A set of functions from `np` and `np.lib.*` submodules has been identified that could establish a new public namespace within the `np.lib` submodule. The issue https://github.com/numpy

[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

[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