A Functional Package for Automatic Solution of Ordinary Differential Equations with Spectral Methods
Abstract
We present a Python module named PyCheb, to solve the ordinary differential equations by using spectral collocation method. PyCheb incorporates discretization using Chebyshev points, barycentric interpolation and iterate methods. With this Python module, users can initialize the ODEsolver class by passing attributes, including the both sides of a given differential equation, boundary conditions, and the number of Chebyshev points, which can also be generated automatically by the ideal precision, to the constructor of ODEsolver class. Then, the instance of the ODEsolver class can be used to automatically determine the resolution of the differential equation as well as generate the graph of the high-precision approximate solution. (If you have any questions, please send me an email and I will reply ASAP. e-mail:[email protected]/[email protected])
BibTeX
@misc{liu2016functional,
author = {Shaohui Liu and Tianshi Wang and Youran Zhang},
title = {{A Functional Package for Automatic Solution of Ordinary Differential Equations with Spectral Methods}},
year = {2016},
eprint = {1608.04815},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1608.04815},
}Ask Althea to put this paper to the test.
| A Fast and Well-Conditioned Spectral Method | Oxford · 2012 |
| The automatic solution of partial differential equations using a global spectral method | Journal of Computational Physics · 2015 |
| jaxhps: An elliptic PDE solver built with machine learning in mind | The Journal of Open Source Software · 2025 |
| A fast, spectrally accurate homotopy based numerical method for solving nonlinear differential equations | Journal of Computational Physics · 2019 |
| An efficient method for solving highly oscillatory ordinary differential equations with applications to physical systems | arXiv · 2019 |
| Neural Spectral Methods: Self-supervised learning in the spectral domain | arXiv · 2023 |