SolutionPair Structure

Contains a pair of solutions to a differential equation.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public readonly struct SolutionPair
Inheritance
Object    ValueType    SolutionPair

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.

Constructors

SolutionPair Initializes a new solution pair with the given values.

Properties

FirstSolutionDerivative Gets the derivative of the first solution.
FirstSolutionValue Gets the value of the first solution.
SecondSolutionDerivative Gets the derivative of the second solution.
SecondSolutionValue Gets the value of the second solution.

Methods

EqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

See Also