什么好的库有解决C

什么好的库有解决C

本文介绍了什么好的库有解决C ++非线性方程组的系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我编写的C ++应用程序中,我需要解决一个线性方程组(N方程,N个未知数)。

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

我解决的系统会相当小(最多10个方程/未知数),因此性能不会是一个真正的问题。
我在网上搜索了一个非线性求解器库,我不能得到一个看起来很容易使用的东西(得到 NOX 和,但两者似乎都是我的需要的过分)。

The systems I'm solving will be rather small (up to 10 equations/unknowns), so performance is not going to be a real issue.I've searched the web a bit for a non-linear solver library, and I couldn't get to something which looks easy to use (got to NOX and C/C++ Minpack, but both seem to be an overkill for my need).

为此目的使用易于使用的库的任何想法和想法?

Any thoughts and ideas of easy-to-use libraries for this purpose?

推荐答案

你可以使用日s包,其中包括一个非线性求解器,用CI写。我发现唯一的问题是,你需要给它良好的初始估计。第二个选项是使用NLEQ或NLEQ2,我认为是优越的(在FORTRAN中的writtein,但很容易链接到C喜欢的语言,但我有一些问题找到它只是现在。有一个很好的网站,列出可能的选项at:

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

这篇关于什么好的库有解决C ++非线性方程组的系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 12:32