문제

Good library for solving differentiation equations (not only 1rst order) using 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top