Class representing an ODE system.
More...
|
| | 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
|
Class representing an ODE system.
◆ ODE()
| DblPend.ODE.ODE |
( |
double | m_1, |
|
|
double | m_2, |
|
|
double | L_1, |
|
|
double | L_2 ) |
Constructor for ODE objects.
- Parameters
-
| m_1 | mass of the first object (kg) |
| m_2 | mass of the second object (kg) |
| L_1 | length of the first rod (m) |
| L_2 | length of the second rod (m) |
◆ computeDerivatives()
| void DblPend.ODE.computeDerivatives |
( |
double | t, |
|
|
double[] | theta, |
|
|
double[] | dtheta ) |
function representation of an ODE system
- Parameters
-
| t | current independent variable value in ODE solution |
| theta | dependent variables (rad) |
| dtheta | change 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: