VCV Rack API v2
Loading...
Searching...
No Matches
ode.hpp File Reference
#include <dsp/common.hpp>
Include dependency graph for ode.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rack
 Root namespace for the Rack API.
 
namespace  rack::dsp
 Digital signal processing routines and classes.
 

Functions

template<typename T , typename F >
void rack::dsp::stepEuler (T t, T dt, T x[], int len, F f)
 The callback function f in each of these stepping functions must have the signature.
 
template<typename T , typename F >
void rack::dsp::stepRK2 (T t, T dt, T x[], int len, F f)
 Solves an ODE system using the 2nd order Runge-Kutta method.
 
template<typename T , typename F >
void rack::dsp::stepRK4 (T t, T dt, T x[], int len, F f)
 Solves an ODE system using the 4th order Runge-Kutta method.