作者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