且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

odeint简单的一维颂示例不编译

更新时间:2021-10-19 23:07:47

网页上的例子只是用odeint GitHub的版本上运行。如果你改变了步进类型

The example on the webpage is only running with the github version of odeint. If you change the stepper type to

typedef runge_kutta_dopri5< double , double , double , double , vector_space_algebra > stepper_type;

它应该运行。我们已经包括了自动代数检测机制是不是在正式版本提振但将很快包括在内。

it should run. We have included a automatic algebra detection mechanism which is not in the official boost version but which will be included very soon.