摘要
A mutually orthogonal system of rationalSome approximation results are establishedfunctions on the whole line is introduced.As an example of applications, a modified Legendre rational spectral scheme is given for the Dirac equation. Its numerical solution keeps the same conservation as the genuine solution. This feature not only leads to reasonable numerical simulation of nonlinear waves, but also simplifies the analysis. The convergence of the proposed scheme is proved. Numerical results demonstrate the efficiency of this new approach and coincide with the analysis well.