diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2009-11-14 22:30:39 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2009-11-14 22:30:39 +0000 |
commit | 9211df98609ea0348ad51cab611387b8e898a974 (patch) | |
tree | c87abd831f1585ed222dbd4552bf4df0dab3d702 /numpy/polynomial/setup.py | |
parent | b8b7c9602346fe21110549d133c17a6500d4986f (diff) | |
download | numpy-9211df98609ea0348ad51cab611387b8e898a974.tar.gz |
Add support for chebyshev series and polynomials.
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.
Diffstat (limited to 'numpy/polynomial/setup.py')
-rw-r--r-- | numpy/polynomial/setup.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/numpy/polynomial/setup.py b/numpy/polynomial/setup.py new file mode 100644 index 000000000..173fd126c --- /dev/null +++ b/numpy/polynomial/setup.py @@ -0,0 +1,11 @@ + + +def configuration(parent_package='',top_path=None): + from numpy.distutils.misc_util import Configuration + config = Configuration('polynomial',parent_package,top_path) + config.add_data_dir('tests') + return config + +if __name__ == '__main__': + from numpy.distutils.core import setup + setup(configuration=configuration) |