  # DependentVariableDifferentialEquation Class

An adapter for an OrdinaryDifferentialEquationSystem for use with a NumericalIntegrator. This allows a user to define a function representing a system of differential equations and integrate it over an independent variable. Inheritance Hierarchy
SystemObject

Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 23.1.416.0 (23.1.416.0) Syntax
`public class DependentVariableDifferentialEquation : DependentVariableDerivatives`

The DependentVariableDifferentialEquation type exposes the following members. Constructors
NameDescription DependentVariableDifferentialEquation(OrdinaryDifferentialEquationSystem)
Initializes a new instance based on an OrdinaryDifferentialEquationSystem. DependentVariableDifferentialEquation(DependentVariableDifferentialEquation, CopyContext)
Initializes a new instance as a copy of an existing instance.
Top Properties
NameDescription Dimension
Gets the total number of elements in the decomposed first-order derivative array.
(Inherited from DependentVariableDerivatives.) IsThreadSafe
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously. Orders
Gets or sets the orders of the differential equations in the differential equations. Higher order equations are decomposed into first-order derivatives of each dependent variable such that the length of this set of orders corresponds to the sum of the orders of the original equations. So if the original equations were: A first order, B third order, C second order, D first order, then the resulting orders of this system of equations will be: 1, 3, 2, 1, 2, 1, 1
(Inherited from DependentVariableDerivatives.) SystemOfEquations
Gets or sets the system of equations which define the derivatives of a set of dependent variables.
Top Methods
NameDescription AddDerivatives
Compute and add the derivatives of the dependent variables to the given derivativeArray. Since the derivativeArray may already contain derivative information from other sources, do not overwrite existing values but instead add the derivatives of the given mode to the existing values. Clone
Clones this object using the specified context.
(Overrides DependentVariableDerivativesClone(CopyContext).) ComputeDerivatives(Double, Double, Double)
Compute the derivatives of the dependent variables and store them to the given array.
(Inherited from DependentVariableDerivatives.) ComputeDerivatives(Double, Double, Double, Double)
Compute the "fast" derivatives of the dependent variables, add them to the given "slow" derivatives, and store them to the given array. "Fast" derivatives are ones which are most important for the dynamics of the system and can be computed quickly. Some integrators optimize performance by only computing "fast" intervals when only an approximation of the overall derivative is required.
(Inherited from DependentVariableDerivatives.) Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.) Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.) GetDimensionForOrder
Get the number of elements in the dependent variables which are of the given order.
(Inherited from DependentVariableDerivatives.) GetHashCode
Serves as the default hash function.
(Inherited from Object.) GetType
Gets the Type of the current instance.
(Inherited from Object.) MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.) ToString
Returns a string that represents the current object.
(Inherited from Object.)
Top See Also