|
|
◆ Besi1()
| Function Besi1 |
( |
X As |
Double, |
|
|
Optional Info As |
Long, |
|
|
Optional Kode As |
Long = 1 |
|
) |
| |
Modified Bessel function of the first kind of order one I1(x)
- Purpose
- This routine computes the modified Bessel function of the first kind of order one I1(x).
A scaling option is available to help avoid overflow.
- Returns
- Double
Modified Bessel function of the first kind of order one I1(x). (if Kode = 1)
Exponentially scaled modified Bessel function of the first kind of order zero exp(-|x|)*I1(x). (if Kode = 2)
- Parameters
-
| [in] | X | Argument x. |
| [out] | Info | (Optional)
= 0: Successful exit.
= -3: The argument Kode had an illegal value. (Kode <> 1 and Kode <> 2)
= 1: Floating point range error. |
| [in] | Kode | (Optional)
A parameter to indicate the scaling option.
= 1: No scaling.
= 2: Returns exponentially scaled values. |
- Reference
- boost/math/special_functions and netlib/cephes
|