diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2019-03-14 22:53:27 -0700 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2019-03-15 18:27:18 -0700 |
commit | 5646b46341240ddecc1692d21610e49125b4b16e (patch) | |
tree | d26484aa6a97fc67fdb7e7e4fd0d2fefd86f5fe1 /numpy/doc/basics.py | |
parent | 2829cc559d4887ab0fe86d4dce97c435009d1fd7 (diff) | |
download | numpy-5646b46341240ddecc1692d21610e49125b4b16e.tar.gz |
MAINT: Unify polynomial fitting functions
These fitting functions are all the same - the algorithm used does not care about the basis.
This was done using:
* A regex find / replace on all but poly and cheb
* A manual diff showing that cheb differed only by whitespace
* A manual diff showing that poly differed in `deg.ndim == 1` vs `deg.ndim > 0`.
Given that this function only allows `deg.ndim <= 1`, and `ndim >= 0`, these two comparison are equivalent.
Diffstat (limited to 'numpy/doc/basics.py')
0 files changed, 0 insertions, 0 deletions