/// <summary> /// Derivative of the Airy function Ai. /// <p/> /// If expScaled is true, returns Exp(zta) * d/dz Ai(z), where zta = (2/3) * z * Sqrt(z). /// </summary> /// <param name="z">The value to compute the derivative of the Airy function of.</param> /// <param name="expScaled">If true, returns exponentially-scaled Airy function</param> /// <returns></returns> public static double AiryAiPrime(double z, bool expScaled = false) { if (expScaled) { return(Amos.ScaledCairyPrime(z)); } else { return(AiryAiPrime(new Complex(z, 0), expScaled).Real); } }
/// <summary> /// Returns the exponentially scaled derivative of the Airy function Ai. /// <para>ScaledAiryAiPrime(z) is given by Exp(zta) * AiryAiPrime(z), where zta = (2/3) * z * Sqrt(z).</para> /// </summary> /// <param name="z">The value to compute the derivative of the Airy function of.</param> /// <returns>The exponentially scaled derivative of the Airy function Ai.</returns> public static double AiryAiPrimeScaled(double z) { return(Amos.ScaledCairyPrime(z)); }
/// <summary> /// Returns the exponentially scaled derivative of Airy function Ai /// <para>ScaledAiryAiPrime(z) is given by Exp(zta) * AiryAiPrime(z), where zta = (2/3) * z * Sqrt(z).</para> /// </summary> /// <param name="z">The value to compute the derivative of the Airy function of.</param> /// <returns>The exponentially scaled derivative of Airy function Ai.</returns> public static Complex AiryAiPrimeScaled(Complex z) { return(Amos.ScaledCairyPrime(z)); }
/// <summary> /// Derivative of the Airy function Ai. /// <p/> /// If expScaled is true, returns Exp(zta) * d/dz Ai(z), where zta = (2/3) * z * Sqrt(z). /// </summary> /// <param name="z">The value to compute the derivative of the Airy function of.</param> /// <param name="expScaled">If true, returns exponentially-scaled Airy function</param> /// <returns></returns> public static Complex AiryAiPrime(Complex z, bool expScaled = false) { return((expScaled) ? Amos.ScaledCairyPrime(z) : Amos.CairyPrime(z)); }