| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* Rewrite the documentation for `deg`.
* Check that the passed degrees are int and raise if not.
* Do not accept `deg` arguments that do not convert as 0-D or 1-D.
* Sort passed degree terms for repeatability.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The argument `deg` is enhanced to allow an
array_like argument to past which specifies
which terms to include in the fit.
The returned coef array is exapnded to have
entries of 0 for all coefficients which were
not included in the fit.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The argument `deg` is enhanced to allow an
array_like argument to past which specifies
which terms to include in the fit.
The returned coef array is exapnded to have
entries of 0 for all coefficients which were
not included in the fit.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The argument `deg` is enhanced to allow an
array_like argument to past which specifies
which terms to include in the fit.
The returned coef array is exapnded to have
entries of 0 for all coefficients which were
not included in the fit.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The argument `deg` is enhanced to allow an
array_like argument to past which specifies
which terms to include in the fit.
The returned coef array is exapnded to have
entries of 0 for all coefficients which were
not included in the fit.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The argument `deg` is enhanced to allow an
array_like argument to past which specifies
which terms to include in the fit.
The returned coef array is exapnded to have
entries of 0 for all coefficients which were
not included in the fit.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The argument `deg` is enhanced to allow an
array_like argument to past which specifies
which terms to include in the fit.
The returned coef array is exapnded to have
entries of 0 for all coefficients which were
not included in the fit.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The calculation of points and weights for Gauss-Legendre quadrature
can take advantage of the symmetry of the companion matrix when
computing its eigenvalues in order to speed up the computation.
|
| |
|
| |
|
|
|
|
|
| |
Fixed typos in docstrings were updated for functions where the parameter
names in the docstring didn't match the function signature.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new computations use normalized polynomials. Those polynomials are
less subject to overflow and allow the determination of the weights and
roots up to about degree 350, at which point the weights underflow.
Two private functions are added for computing the values of the
normalized polynomials:
1. _normed_hermite_n
2. _normed_hermite_e_n
|
|
|
|
|
|
|
|
|
| |
The previous method used for hermite and hermite_e polynomials suffered
from double overflow for polynomials of large degree. Those numbers were
later scaled down by equally large numbers, but the result was NaN. The
wanted values are now computed in such a way that overflow in some
entries is replaced by underflow in others. The resulting zeros are a
negligible perturbation of the companion matrix.
|
|\
| |
| | |
Pep8 numpy polynomial
|
| | |
|
| |
| |
| |
| | |
Made conformant with the standards of scipy.
|
| |
| |
| |
| | |
Detected by pyflakes.
|
| |
| |
| |
| |
| | |
The rather lax standards used in scipy were used to identify the
needed style fixups.
|
| |
| |
| |
| | |
The hermepow function was incorrectly listed in __all__ as hermpow.
|
|\ \
| | |
| | | |
MAINT: start 1.10-devel.
|
| |/ |
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
Makes the identity check `a = np.array([np.nan], dtype=object)`
`a == a`, etc. a deprecation/futurewarning instead of just
changing it.
Also fixes some smaller things.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This means that for example broadcasting errors get raised.
The array_equiv function is changed to explicitely test
if broadcasting is possible. It may be nice to do this
test differently, but I am not sure if that is possible.
Create a FutureWarning for comparisons to None, which
should result in areal elementwise (object) comparisons.
Slightly adepted a wrong test.
Poly changes: Some changes in the polycode was necessary,
the one is probably a bug fix, the other needs to be
thought over, since len check is not perfect maybe, since
it is more liekly to raise raise an error.
Closes gh-3759 and gh-1608
|
| |
|
|
|
|
|
| |
The use of polytemplate is deprecated, this fix is only for a backport
if needed.
|
|
|
|
|
|
|
|
|
|
| |
1) Clean up the code and move repeated snippet to a method.
2) Remove use of has_sametype, has_samewindow, has_samedomain. I would
like to deprecate those methods.
3) Fix error in __truediv__, and make it only allow non-boolean numbers
for the denominator.
Closes #4631.
|
| |
|
|\
| |
| | |
DOC: remove obsolete NA reference from polyfit docs
|
| | |
|
| |
| |
| |
| | |
Make the version of its removal Numpy 1.10.0.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move the class documentation to the place of definition in the
appropriate module. This allow for documenting the specific series kind
along with the series specific default domains and windows
Remove template placeholders from the ABCPolyBase class documention.
General fixup of documentation that rendered poorly.
|
| |
| |
| |
| | |
Also note that PolyBase is no longer to be used.
|
|/
|
|
|
|
|
|
| |
The new base is ABCPolyBase and is intended to replace the use of the
polytemplate string. In this way the need to compile the polynomial
classes on import is avoided.
Closes #634. Closes #3639.
|
| |
|
|\
| |
| | |
STY: Make numpy/polynomial/tests/*.py PEP8 compliant.
|
| |
| |
| |
| | |
Run autopep8 on the tests and fixup the results.
|