AdvancedMathBessel Method |
Namespace: Meta.Numerics.Functions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | nu or x is negative. |
Bessel functions often occur in the analysis of physical phenomena with cylindrical symmetry. They satisfy the differential equation:
Since this is a second order linear equation, it has two linearly independent solutions. The regular Bessel function Jν(x), which is finite at the origin, and the irregular Bessel function Yν(x), which diverges at the origin. Far from the origin, both functions are oscilatory.
This method simultaneously computes both Bessel functions and their derivatives. If you need both J and Y, it is faster to call this method once than to call BesselJ(Double, Double) and BesselY(Double, Double) seperately. If on, the other hand, you need only J or only Y, it is faster to call the appropriate method to compute the one you need.