| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fix some documentation.
|
|
|
|
|
|
| |
Remove checks that prevent use of foreign scalar types for lower
bounds and integration constants.
Cleanup code a bit.
|
| |
|
|
|
|
| |
much like a ufunc and a bit vague.
|
|
|
|
| |
Chebyshev.fit and Polynomial.fit. Document the change from numpy 1.4.x.
|
|
|
|
|
|
| |
polynomial.Polynomial. This method behaves like truncate except
it takes the degree of the result instead of the number of
coefficients.
|
|
|
|
|
| |
On second thought it was a bad idea to make such a radical change to existing
behaviour. It was also hard to document the variations ;)
|
|
|
|
|
|
|
|
|
| |
Chebyshev and Polynomial classes to None. Add 'default' as a possible
value of the domain argument to specify the default domain. This change
fits better with my experience with this method. I feel it is safe to
make this change at this late date because the functions seem little
used as yet and I would like to get them 'right' before folks catch on
to their presence.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Polynomial classes.
|
| |
|
| |
|
|
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.
|