summaryrefslogtreecommitdiff
path: root/numpy/polynomial/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* CHG: Change the truncate method of the Chebyshev and Polynomial classesCharles Harris2010-05-212-8/+10
| | | | | | to take degree instead of length. This seems to fit better with normal usage. I feel this change is safe at this time because these new classes seem to be little used as yet.
* ENH: Add degree method to the Chebyshev and Polynomial classes.Charles Harris2010-05-211-0/+3
|
* ENH:Charles Harris2010-05-212-0/+17
| | | | | | | 1) Let {poly,cheb}int accept 0 for the number of integrations. 2) Let {poly,cheb}(int,der} accept floating integers for number of integrations or derivations, raise ValueError otherwise. 3) Add tests for same.
* BUG: Fix bug in lbnd implementation of the integ method of the Chebyshev andCharles Harris2010-02-272-0/+4
| | | | Polynomial classes.
* 3K: polynomial: make tests to importPauli Virtanen2010-02-213-3/+0
|
* Small cleanups in polynomial modules.Charles Harris2009-11-282-2/+2
|
* Add support for chebyshev series and polynomials.Charles Harris2009-11-143-0/+985
New modules chebyshev and polynomial are added. The new polynomial module is not compatible with the current polynomial support in numpy, but is much like the new chebyshev module. The most noticeable difference to most will be that coefficients are specified from low to high power, that the low level functions do *not* accept the Chebyshev and Polynomial classes as arguements, and that the Chebyshev and Polynomial classes include a domain. Mapping between domains is a linear substitution and the two classes can be converted one to the other, allowing, for instance, a Chebyshev series in one domain to be expanded as a polynomial in another domain. The new modules are not automatically imported into the numpy namespace, they must be explicitly brought in with a "import numpy.polynomial" statement.