You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Numerics/Analysis/FunctionMath_Odes.cs
+15-30Lines changed: 15 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,11 @@ public static partial class FunctionMath {
23
23
/// <exception cref="ArgumentNullException">The <paramref name="rhs"/> is null.</exception>
24
24
/// <exception cref="NonconvergenceException">The ODE could not be integrated to the required precision before exhausting the maximum allowed number of <paramref name="rhs"/> evaluations.</exception>
25
25
/// <remarks>
26
-
/// <para>A conservative ordinary differential equation has the form</para>
27
-
/// <img src="../images/ConservativeODE.png" />
28
-
/// <para>where the right-hand-side depends only on x and y, not on the derivative y'. ODEs of this form are called conservative because
29
-
/// they exhibit conserved quantities: combinations of y and y' that maintain the same value as the system evolves. Many forms of
30
-
/// Newtonian equations of motion, for example, are conservative ODEs, with conserved quantities such as energy, momentum, and
31
-
/// angular momentum. Our specialized conservative ODE integrator is not only more efficient for conservative ODEs, but does a
32
-
/// better job of maintaining the conserved quantities.</para>
26
+
/// <para>For information on integrating conservative ODEs, see
@@ -83,22 +81,9 @@ public static OdeResult IntegrateConservativeOde (Func<double, double, double> r
83
81
/// <exception cref="ArgumentNullException">The <paramref name="rhs"/> is null.</exception>
84
82
/// <exception cref="NonconvergenceException">The ODE could not be integrated to the required precision before exhausting the maximum allowed number of <paramref name="rhs"/> evaluations.</exception>
85
83
/// <remarks>
86
-
/// <para>An ordinary differential equation (ODE) has the form:</para>
87
-
/// <img src="../images/ODE.png" />
88
-
/// <para>The function specifying the derivative as a function of x and y is called the right-hand-side (RHS).</para>
89
-
/// <para>The integration of an ODE consists of specifying the value of y at some initial x and computing its value
90
-
/// at a different x in accordance with the differential equation. The terms "initial" and "final" are derived from
91
-
/// the common case where the indepdent variable is time, but the technique applies whether the independent variable
92
-
/// repsents a time, a location, or a completely non-physical quantity, as long as the problem has form of an ODE.</para>
93
-
/// <para>ODEs involving multi-dimensional, coupled dependent variables can be integrated using the
/// method. Higher order ODEs can be integrated by representing them as coupled ODEs in which the zeroth component
96
-
/// is the desired y, the first component is y', the second component is y'', etc. So-called conservative second order
97
-
/// ODEs should be integrated using the <see cref="FunctionMath.IntegrateConservativeOde(Func{double, double, double}, double, double, double, double)"/>
98
-
/// method. If your ODE's RHS depends only on x, the problem reduces to a simple integral, which can be solved more rapidly and
99
-
/// accurately using the <see cref="FunctionMath.Integrate(Func{double, double}, Interval)"/> method. Analytic techniques can
100
-
/// also be used to reduce several other kinds of ODEs to simple integrals or lower-order ODEs.</para>
101
-
/// <para>This overload using default values for precision and evaluation budget. It targets a relative precision of
84
+
/// <para>For information on integrating ODEs, see
/// method. Higher order ODEs can be integrated by representing them as coupled ODEs in which the zeroth component
133
118
/// is the desired y, the first component is y', the second component is y'', etc. So-called conservative second order
134
-
/// ODEs should be integrated using the <see cref="FunctionMath.IntegrateConservativeOde(Func{double, double, double}, double, double, double, double)"/>
0 commit comments