# [SciPy-User] why scipy.special.mathieu_cem is not periodic? Classic List Threaded 4 messages Open this post in threaded view
|

## [SciPy-User] why scipy.special.mathieu_cem is not periodic?

 Dear all: I have a question regarding the special function scipy.special.mathieu_cem, why this function not periodic? I thought this function should have period pi when m is even, and 2*pi when m is odd, however this is not the case: x = np.linspace(0,10*np.pi,100) plt.plot(x,sp.mathieu_cem(3,3,x)) plt.show() compare with mathematica, it clearly shows a period graph. To see the graph, I have the detailed post on stackoverflow. http://stackoverflow.com/questions/43615531/why-mathieu-function-in-scipy-not-periodicBest regards,  Ming _______________________________________________ SciPy-User mailing list [hidden email] https://mail.python.org/mailman/listinfo/scipy-user
Open this post in threaded view
|

## Re: why scipy.special.mathieu_cem is not periodic?

 Did you see the answer on stackoverflow?DLGOn Tue, Apr 25, 2017 at 9:10 AM Ming Lu <[hidden email]> wrote:Dear all: I have a question regarding the special function scipy.special.mathieu_cem, why this function not periodic? I thought this function should have period pi when m is even, and 2*pi when m is odd, however this is not the case: x = np.linspace(0,10*np.pi,100) plt.plot(x,sp.mathieu_cem(3,3,x)) plt.show() compare with mathematica, it clearly shows a period graph. To see the graph, I have the detailed post on stackoverflow. http://stackoverflow.com/questions/43615531/why-mathieu-function-in-scipy-not-periodic Best regards,  Ming _______________________________________________ SciPy-User mailing list [hidden email] https://mail.python.org/mailman/listinfo/scipy-user _______________________________________________ SciPy-User mailing list [hidden email] https://mail.python.org/mailman/listinfo/scipy-user