philsupertramp/game-math
|
Go to the source code of this file.
Functions | |
ODEResult | ODETrapez (const ODE &fun, const std::vector< double > &tInterval, const Matrix< double > &y0, const ODEOption &option) |
ODEResult ODETrapez | ( | const ODE & | fun, |
const std::vector< double > & | tInterval, | ||
const Matrix< double > & | y0, | ||
const ODEOption & | option | ||
) |
Implements trapezoid method to solve odes
fun | ode to approximate |
tInterval | interval to perform approximation on |
y0 | start value |
option | solver options |