开发者

Is there any Good library for solving differentiation equations using differentiation operator?

开发者 https://www.devze.com 2022-12-23 19:42 出处:网络
Good library for solving differentiation equations (not only 1rst order) usin开发者_开发技巧g differentiation operator?Better written in C/C++/PHP/C#/Actionscript/Javascript(1) Generic analytic ODE so

Good library for solving differentiation equations (not only 1rst order) usin开发者_开发技巧g differentiation operator?Better written in C/C++/PHP/C#/Actionscript/Javascript


(1) Generic analytic ODE solver is not possible.

(2) If you're given an n-th order ODE you can convert it into n 1st order ODE, e.g.

y'' + 2y' + 3y + 4 = 0

now let z = y', you've got a coupled 1st order ODE:

z' = -2z - 3y - 4
y' = z

(3) For C, try GSL: http://www.gnu.org/software/gsl/manual/html_node/Ordinary-Differential-Equations.html.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号