diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2022-06-01 15:02:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 15:02:43 -0700 |
commit | b84a53df9346a73fe8f6df0aaad8727f9bf56076 (patch) | |
tree | d09619c6728e28c27963f873afe96627201f25b3 /numpy/array_api/_statistical_functions.py | |
parent | 07709f3040da23e57defd003cfa761ba3311b1b8 (diff) | |
download | numpy-b84a53df9346a73fe8f6df0aaad8727f9bf56076.tar.gz |
ENH: Add support for symbol to polynomial package (#16154)
Adds a symbol attribute to the polynomials from the np.polynomial package to allow the user to control/modify the symbol used to represent the independent variable for a polynomial expression. This attribute corresponds to the variable attribute of the poly1d class from the old np.lib.polynomial module.
Marked as draft for now as it depends on #15666 - all _str* and _repr* methods of ABCPolyBase and derived classes would need to be modified (and tested) to support this change.
Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com>
Diffstat (limited to 'numpy/array_api/_statistical_functions.py')
0 files changed, 0 insertions, 0 deletions