What good libraries are there for solving a system of non-linear equations in C++?

后端 未结 8 1488
情书的邮戳
情书的邮戳 2021-02-06 01:12

In a C++ application I\'m coding, I need to solve a system of non-linear equations (N equations, N unknowns).

The systems I\'m solving will be rather sm

8条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-06 02:04

    There are two options for you, you can use the sundials packages which includes a nonlinear solver, written in C I think. The only problem I've found with it is that you need to give it good initial estimates. The second option is to use NLEQ or NLEQ2 which I think are superior (writtein in FORTRAN but easy to link to C like langages. However I have had some problems locating it just now. There is a good web site with a list of possible options at: http://plato.asu.edu/sub/zero.html

提交回复
热议问题