Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double Biry(double A); | Airy function of the second kind, real argument: $Bi(x)$. |
| 2 | float Biry(float A); | |
| 3 | TCplx Biry(TCplx Z); | Airy function of the second kind, complex argument: $Bi(z)$. |
| 4 | TSCplx Biry(TSCplx Z); | |
| 5 | double Biry(double A, bool Derive, bool Scale, int &Error); | Airy function of the second kind or its derivative, real argument, optional scaling: $Bi(x)orBi'(x)$. |
| 6 | float Biry(float A, bool Derive, bool Scale, int &Error); | |
| 7 | TCplx Biry(TCplx Z, bool Derive, bool Scale, int &Error); | Airy function of the second kind or its derivative, complex argument, optional scaling: $Bi(z)orBi'(z)$. |
| 8 | TSCplx Biry(TSCplx Z, bool Derive, bool Scale, int &Error); |
Overload 1: double Biry(double A);
Airy function of the second kind, real argument: .
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | double | Defines real value where BI should be evaluated. |
Returns: $Bi(x)$, the Airy function of the second kind, evaluated for the real argument A. The result is real.
Bi is the second, dominant solution of the Airy equation w'' = z w:
Bi(x) = 1/piintegral _0^(inf)[exp(-t^3/3+x t)+sin(t^3/3+x t)]dt
Domain. Any finite real A. Behavior. Unscaled, non-derivative; grows like
e^((2/3)x^(3/2)) for large positive x, so the underlying routine may raise on overflow.
Overload 2: float Biry(float A);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | float |
Overload 3: TCplx Biry(TCplx Z);
Airy function of the second kind, complex argument: .
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | TCplx | Defines complex value where BI should be evaluated. |
Returns: $Bi(z)$, the Airy function of the second kind, evaluated for the complex argument Z.
Bi is the dominant solution of w'' = z w, related to the modified Bessel functions by Bi(z) = sqrt(z/3)[I_(-1/3)(2/3z^(3/2))+I_(1/3)(2/3z^(3/2))].
Domain. Any finite complex Z; principal branch of z^(3/2).
Overload 4: TSCplx Biry(TSCplx Z);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | TSCplx |
Overload 5: double Biry(double A, bool Derive, bool Scale, int &Error);
Airy function of the second kind or its derivative, real argument, optional scaling: .
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | double | Defines real value where BI or its derivative should be evaluated. |
| 2 | Derive | bool | If true, function will return Airy (BI) derivative instead of the actual Airy (BI) function. |
| 3 | Scale | bool | If true, result function (BI) or it's derivative is scaled by e^(-|Rezeta|), where zeta=2/3 z^(3/2). |
| 4 | Error | int & | Returns error code after the calculation. Return values are: * 0, Normal return - Computation completed. * 1, input error - no computation. * 2, overflow - no computation; dreal(zta)- too large with Scaling=false. * 3, zabs(z) large - computation completed. Losses of signifcance by argument reduction produce less than half of machine accuracy. * 4, zabs(z) too large - no computation; complete loss of accuracy by argument reduction. * 5, error - no computation; algorithm termination condition not met. |
Returns: $Bi(x)$, or its derivative $Bi'(x)$ when is true. The result is real.
When Scale is true the result is multiplied by e^(-|Rezeta|) with zeta=2/3 x^(3/2):
e^(-|Rezeta|) Bi(x) or e^(-|Rezeta|) Bi'(x), zeta=2/3 x^(3/2).
Domain. Any finite real A. Behavior. Error is 0 on normal return and
carries the AMOS diagnostic code otherwise (reported, not raised, for this overload).
Overload 6: float Biry(float A, bool Derive, bool Scale, int &Error);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | float | |
| 2 | Derive | bool | |
| 3 | Scale | bool | |
| 4 | Error | int & |
Overload 7: TCplx Biry(TCplx Z, bool Derive, bool Scale, int &Error);
Airy function of the second kind or its derivative, complex argument, optional scaling: .
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | TCplx | Function independant variable, complex value. |
| 2 | Derive | bool | If true, function will return Airy (BI) derivative instead of the actual Airy (BI) function. |
| 3 | Scale | bool | If true, result function (BI) or it's derivative is scaled by e^(-|Rezeta|), where zeta=2/3 z^(3/2). |
| 4 | Error | int & | Returns error code after the calculation. Return values are: * 0, Normal return - Computation completed. * 1, input error - no computation. * 2, overflow - no computation; dreal(zta)- too large with Scaling=false. * 3, zabs(z) large - computation completed. Losses of signifcance by argument reduction produce less than half of machine accuracy. * 4, zabs(z) too large - no computation; complete loss of accuracy by argument reduction. * 5, error - no computation; algorithm termination condition not met. |
Returns: If is false, returns the Airy function of the second kind (BI).
If Derive is true, the derivative of the Airy function of the second kind (BI) is returned. When Scale is true the result is additionally multiplied by e^(-|Rezeta|), zeta=2/3 z^(3/2):
e^(-|Rezeta|) Bi(z) or e^(-|Rezeta|) Bi'(z).
Domain. Any finite complex Z; principal branch of z^(3/2). Behavior. Error is
0 on normal return and otherwise carries the AMOS diagnostic code.
Overload 8: TSCplx Biry(TSCplx Z, bool Derive, bool Scale, int &Error);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | TSCplx | |
| 2 | Derive | bool | |
| 3 | Scale | bool | |
| 4 | Error | int & |