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:shaohui_liu@qq.com/2013141482143@stu.scu.edu.cn)
Cite
@article{arxiv.1608.04815,
title = {A Functional Package for Automatic Solution of Ordinary Differential Equations with Spectral Methods},
author = {Shaohui Liu and Tianshi Wang and Youran Zhang},
journal= {arXiv preprint arXiv:1608.04815},
year = {2016}
}
Comments
This paper has been withdrawn by the author due to some serious mistakes made in the context since it is for the first time for all the authors to do independent research. Hope that we can fix all the problems soon and come back with some better results