You are here: Symbol Reference > SpecialFuncs Namespace > Functions > SpecialFuncs.Airy Function
MtxVec VCL
ContentsIndex
PreviousUpNext
SpecialFuncs.Airy Function

Airy function of the first kind or it's derivative (Complex argument, allows derivative or scale.

Pascal
function Airy(Z: TCplx; Derive: boolean; Scale: boolean; var Error: integer): TCplx; overload;
Parameters 
Description 
Function independant variable, complex value. 
Derive 
If true, function will return Airy derivative instead of the actual Airy (AI) function. 
Scale 
If true, result function or it's derivative is scaled by Exp(z), where z = (2/3)*(Z)^(3/2) 
Error 
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.
 

If Derive is false, it will return Airy function of the first kind.

If Derive is true, it will return derivative of Airy function of the first kind. If Scale is true, result is additionaly multiplied by factor (see below)

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!