Click or drag to resize

SolutionPair Structure

Contains a pair of solutions to a differential equation.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public struct SolutionPair

The SolutionPair type exposes the following members.

Constructors
  NameDescription
Public methodSolutionPair
Initializes a new solution pair with the given values.
Top
Properties
  NameDescription
Public propertyFirstSolutionDerivative
Gets the derivative of the first solution.
Public propertyFirstSolutionValue
Gets the value of the first solution.
Public propertySecondSolutionDerivative
Gets the derivative of the second solution.
Public propertySecondSolutionValue
Gets the value of the second solution.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Remarks

Any linear second order differential equation has two independent solutions. For example, the Bessel differential equation (Bessel(Double, Double)) has solutions J and Y, the Coulomb wave equation (Coulomb(Int32, Double, Double)) has solutions F and G, and the Airy differential equation (Airy(Double)) has solutions Ai and Bi.

A solution pair structure contains values for both solutions and for their derivatives. It is often useful to have all this information together when fitting boundary conditions.

Which solution is considered the first and which is considered the second is a matter of convention. When one solution is regular (finite) at the origin and the other is not, we take the regular solution to be the first.

See Also