philsupertramp/game-math
|
#include "../lin_alg/newton.h"
#include "../utils.h"
#include "ode.h"
#include "odeTrapez.h"
#include <iostream>
Go to the source code of this file.
Functions | |
ODEResult | ODEBDF2 (const ODE &fun, const std::vector< double > &tInterval, const Matrix< double > &y0, const ODEOption &option) |
Implements BDF(2)-Method to solve systems of ordinary differential equations
Requires:
ODEResult ODEBDF2 | ( | const ODE & | fun, |
const std::vector< double > & | tInterval, | ||
const Matrix< double > & | y0, | ||
const ODEOption & | option | ||
) |
BDF(2) solver implementation
fun | ode to approximate |
tInterval | interval to perform approximation on |
y0 | start value |
option | solver options |