DblPend
Loading...
Searching...
No Matches
DblPend.ODE Class Reference

Class representing an ODE system. More...

Inheritance diagram for DblPend.ODE:

Public Member Functions

 ODE (double m_1, double m_2, double L_1, double L_2)
 Constructor for ODE objects.
int getDimension ()
 returns the ODE system dimension
void computeDerivatives (double t, double[] theta, double[] dtheta)
 function representation of an ODE system

Detailed Description

Class representing an ODE system.

Constructor & Destructor Documentation

◆ ODE()

DblPend.ODE.ODE ( double m_1,
double m_2,
double L_1,
double L_2 )

Constructor for ODE objects.

Parameters
m_1mass of the first object (kg)
m_2mass of the second object (kg)
L_1length of the first rod (m)
L_2length of the second rod (m)

Member Function Documentation

◆ computeDerivatives()

void DblPend.ODE.computeDerivatives ( double t,
double[] theta,
double[] dtheta )

function representation of an ODE system

Parameters
tcurrent independent variable value in ODE solution
thetadependent variables (rad)
dthetachange in dependent variables (rad)

◆ getDimension()

int DblPend.ODE.getDimension ( )

returns the ODE system dimension

Returns
dimension of the ODE system

The documentation for this class was generated from the following file: