Numerical computing with Chebyshev series approximations in Python.
ChebPy is a Python implementation of Chebfun.
- The software is licensed under a 3-Clause BSD License, see LICENSE.rst.
- For installation details, see INSTALL.rst.
- The code is documented in various files in the docs folder.
The figure above was generated with the following simple ChebPy code:
f = chebfun(lambda x: np.sin(x**2) + np.sin(x)**2, [0, 10])
g = chebfun(lambda x: np.exp(-(x-5)**2/10), [0, 10])
r = (f-g).roots()
ax = f.plot(); g.plot()
ax.plot(r, f(r), 'o')