headmyshoulder / odeint-v2

odeint - solving ordinary differential equations in c++ v2
http://headmyshoulder.github.com/odeint-v2/
Other
340 stars 101 forks source link

proper usage of array_algebra with C++11 std::array #142

Closed mariomulansky closed 9 years ago

mariomulansky commented 9 years ago

If the state_type is std::array we should automatically chose the array_algebra. Currently, the array_algebra doesnt even work with std::array. This is especially unfortunate for the intel compiler, which generates a significantly worse performance when using the range_algebra.