Click or drag to resize
DigitalRuneOdeIntegratorF Class
A base class for numerical integration strategies for ordinary differential equations (ODE). (Single-precision)
Inheritance Hierarchy

Namespace: DigitalRune.Mathematics.Analysis
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public abstract class OdeIntegratorF

The OdeIntegratorF type exposes the following members.

Constructors
  NameDescription
Protected methodOdeIntegratorF
Initializes a new instance of the OdeIntegratorF class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntegrate
Computes the new state x1 at time t1.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyFirstOrderDerivative
Gets the function f(x, t) that computes the first order derivative.
Top
Remarks

Numerical integration is explained using following example:

Consider the following ODE: dx/dt = f(x, t). The goal of the numerical integration is to compute the state x1 at time t1 when following information is given:

  • The state at time t0. In general, this state is an n-dimensional vector.
  • The function f(x, t) that computes the first order derivative of x.

Note: In this documentation we assume that the integration variable is time since this is very common for simulation tasks. Of course the integration variable can be any other quantity.

The function f that computes the first order derivative depends on the state x and the time t: For example, the state in rigid body simulation consist of the positions and velocities of the rigid bodies. When computing the new state of the simulation, the first order derivatives (velocities and accelerations) depend on the whole state and on time. This is because accelerations are computed through forces which depend on time (for example explosions), depend on velocities (damping forces) or depend on positions (spring forces).

See Also