作者mangogogo (mangogogo)
看板NCTU-STAT95G
标题Re: 多维度非线性解根好工具 有需要的可以参考一下
时间Thu Apr 24 23:51:29 2008
※ 引述《mangogogo (mangogogo)》之铭言:
: http://www.crbond.com/nonlinear.htm
: c++ code
Broyden's Method (假牛顿法)
可以"省下" 换case需要找Jacobian的麻烦
解多维度
Broyden's Method
Broyden's method is a robust alternative to Newton's method for solving
systems of nonlinear equations. A C version of Broyden's method is available
on this site. The 'zip' archive includes the Broyden solver, a supporting
Gaussian elimination linear solver, and a simple test program.
A complex version of Broyden's method has also been created. Complex Broyden
solvers appear to be fairly rare, as I have been unable to find any other
versions elsewhere. This archive includes the complex Broyden solver, a
supporting complex Gaussian elimination linear solver, and a simple test
program.
有兴趣或需要的 可以抓来使用看看
以大家coding的能力 要移植到自己适用的程式上 应该都是小case
如果还不太懂 可以找我讨论搂 哈
他是C++ code 所以要 include <iostream.h>
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.177.227
1F:→ mangogogo:准备要辣屁股了 哈哈哈~@@ 04/24 23:51
2F:推 Y0SHIKI:谢啦 我想试试看以前帮卢sir弄的例子@@ 04/25 00:06
3F:推 Y0SHIKI:是好哩 跟之前一样要参数很接近才会对说@@ 04/25 01:17
4F:推 josephw:WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW 04/25 11:53