有没有使用微分算子求解微分方程的好库?

发布于 2024-08-26 15:29:48 字数 75 浏览 4 评论 0原文

使用微分运算符求解微分方程(不仅仅是一阶)的好库?最好用 C/C++/PHP/C#/Actionscript/Javascript 编写

Good library for solving differentiation equations (not only 1rst order) using differentiation operator?Better written in C/C++/PHP/C#/Actionscript/Javascript

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

缱倦旧时光 2024-09-02 15:29:48

(1) 通用解析 ODE 求解器是不可能的。

(2) 如果给定一个 n 阶 ODE,您可以将其转换为 n 个一阶 ODE,例如

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

现在让 z = y',您就得到了一个耦合的一阶 ODE

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

:( 3) 对于 C,尝试 GSL: http:// www.gnu.org/software/gsl/manual/html_node/Ordinary-Differential-Equations.html

(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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文