29 #ifndef __MATH_ODE_H__
30 #define __MATH_ODE_H__
47 typedef void (*
deriveFunction_t)(
const float t,
const void *userData,
const float *state,
float *derivatives );
54 virtual float Evaluate(
const float *state,
float *newState,
float t0,
float t1 ) = 0;
74 virtual float Evaluate(
const float *state,
float *newState,
float t0,
float t1 );
92 virtual float Evaluate(
const float *state,
float *newState,
float t0,
float t1 );
111 virtual float Evaluate(
const float *state,
float *newState,
float t0,
float t1 );
133 virtual float Evaluate(
const float *state,
float *newState,
float t0,
float t1 );
idODE_RK4Adaptive(const int dim, const deriveFunction_t dr, const void *ud)
virtual ~idODE_RK4Adaptive(void)
virtual float Evaluate(const float *state, float *newState, float t0, float t1)=0
idODE_Midpoint(const int dim, const deriveFunction_t dr, const void *ud)
idODE_Euler(const int dim, const deriveFunction_t dr, const void *ud)
virtual float Evaluate(const float *state, float *newState, float t0, float t1)
virtual float Evaluate(const float *state, float *newState, float t0, float t1)
void(* deriveFunction_t)(const float t, const void *userData, const float *state, float *derivatives)
idODE_RK4(const int dim, const deriveFunction_t dr, const void *ud)
virtual ~idODE_Euler(void)
static WindowRef ValidModeCallbackProc inCallback OSStatus err
void SetMaxError(const float err)
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
virtual float Evaluate(const float *state, float *newState, float t0, float t1)
virtual ~idODE_Midpoint(void)
virtual float Evaluate(const float *state, float *newState, float t0, float t1)