Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ENH, WIP: Add 2-D fitting function for polynomials #14151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: main
Choose a base branch
Loading
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed docstring again
  • Loading branch information
AWehrhahn committed May 13, 2020
commit b1e0fdb6a873bb76c79b89e4167eeebf1bee0a14
2 changes: 1 addition & 1 deletion 2 numpy/polynomial/chebyshev.py
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@ def chebfit2d(x, y, z, deg, rcond=None, full=False, w=None, max_degree=None):
least squares fit to the data values `y` given at points `x`.
AWehrhahn marked this conversation as resolved.
Show resolved Hide resolved
The fitted polynomial(s) are in the form

.. math:: p(x, y) = c_{00} + c_{10} * T_{10}(x, y) + ... + c_{nm} * T_{nm}(x, y),
.. math:: p(x, y) = c_{00} + c_{10} * T_1(x) T_0(y) + ... + c_{nm} * T_n(x) T_m(y),
AWehrhahn marked this conversation as resolved.
Show resolved Hide resolved

where `n` and `m` are `deg`.
eric-wieser marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
2 changes: 1 addition & 1 deletion 2 numpy/polynomial/hermite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ def hermfit2d(x, y, z, deg, rcond=None, full=False, w=None, max_degree=None):
Return the coefficients of a Hermite series of degree `deg` that is the
least squares fit to the data values `z` given at points `(x, y)`.

.. math:: p(x, y) = c_{00} + c_{10} * H_{10}(x, y) + ... + c_{nm} * H_{nm}(x, y),
.. math:: p(x, y) = c_{00} + c_{10} * H_1(x) H_0(y) + ... + c_{nm} * H_n(x) H_m(y),

where `n` and `m` are `deg`.

Expand Down
2 changes: 1 addition & 1 deletion 2 numpy/polynomial/hermite_e.py
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ def hermefit2d(x, y, z, deg, rcond=None, full=False, w=None, max_degree=None):
the least squares fit to the data values `y` given at points `x`.
The fitted polynomial(s) are in the form

.. math:: p(x, y) = c_{00} + c_{10} * He_{10}(x, y) + ... + c_{nm} * He_{nm}(x, y),
.. math:: p(x, y) = c_{00} + c_{10} * He_1(x) He_0(y) + ... + c_{nm} * He_n(x) He_m(y),

where `n` and `m` are `deg`.

Expand Down
2 changes: 1 addition & 1 deletion 2 numpy/polynomial/laguerre.py
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ def lagfit2d(x, y, z, deg, rcond=None, full=False, w=None, max_degree=None):
least squares fit to the data values `z` given at points `(x, y)`.
The fitted polynomial(s) are in the form

.. math:: p(x, y) = c_{00} + c_{10} * L_{10}(x, y) + c_{01} * L_{01}(x, y) ... + c_{nm} * L_{nm}(x, y),
.. math:: p(x, y) = c_{00} + c_{10} * L_1(x) L_0(y) + c_{01} * L_0(x) L_1(y) ... + c_{nm} * L_n(x) L_m(y),

where `n` and `m` are `deg`.

Expand Down
2 changes: 1 addition & 1 deletion 2 numpy/polynomial/legendre.py
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ def legfit2d(x, y, z, deg, rcond=None, full=False, w=None, max_degree=None):
least squares fit to the data values `z` given at points `(x, y)`.
The fitted polynomial(s) are in the form

.. math:: p(x, y) = c_{00} + c_{10} * L_{10}(x, y) + c_{01} * L_{01}(x, y) + ... + c_{nm} * L_{nm}(x, y),
.. math:: p(x, y) = c_{00} + c_{10} * L_1(x) L_0(y) + c_{01} * L_0(x) L_1(y) + ... + c_{nm} * L_n(x) L_m(y),

where `n` and `m` are `deg`.

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.