示例#1
0
 /// <summary>
 /// Returns the Airy function Bi.
 /// <para>AiryBi(z) is a solution to the Airy equation, y'' - y * z = 0.</para>
 /// </summary>
 /// <param name="z">The value to compute the Airy function of.</param>
 /// <returns>The Airy function Bi.</returns>
 public static Complex AiryBi(Complex z)
 {
     return(Amos.Cbiry(z));
 }
示例#2
0
 /// <summary>
 /// Airy function Bi(z).
 /// <p/>
 /// If expScaled is true, returns Exp(-axzta) * Bi(z) where zta = (2 / 3) * z * Sqrt(z) and axzta = Abs(zta.Real).
 /// </summary>
 /// <param name="z">The value to compute the Airy function of.</param>
 /// <param name="expScaled">If true, returns exponentially-scaled Airy function</param>
 /// <returns></returns>
 public static Complex AiryBi(Complex z, bool expScaled = false)
 {
     return((expScaled) ? Amos.ScaledCbiry(z) : Amos.Cbiry(z));
 }