1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Correct a spelling mistake in "ellipticIntegralK"

This commit is contained in:
jules 2017-07-28 14:56:54 +01:00
parent ec2f7219c5
commit c99b061ac4
3 changed files with 4 additions and 4 deletions

View file

@ -419,8 +419,8 @@ Array<IIR::Coefficients<FloatType>>
{
double K, Kp, K1, K1p;
SpecialFunctions::ellipicIntegralK (k, K, Kp);
SpecialFunctions::ellipicIntegralK (k1, K1, K1p);
SpecialFunctions::ellipticIntegralK (k, K, Kp);
SpecialFunctions::ellipticIntegralK (k1, K1, K1p);
N = roundDoubleToInt (ceil ((K1p * K) / (K1 * Kp)));
}

View file

@ -45,7 +45,7 @@ double SpecialFunctions::besselI0 (double x) noexcept
+ y * (-0.2057706e-1 + y * (0.2635537e-1 + y * (-0.1647633e-1 + y * 0.392377e-2))))))));
}
void SpecialFunctions::ellipicIntegralK (double k, double& K, double& Kp) noexcept
void SpecialFunctions::ellipticIntegralK (double k, double& K, double& Kp) noexcept
{
constexpr int M = 4;

View file

@ -40,7 +40,7 @@ struct SpecialFunctions
given double value k, and the associated complete elliptic integral
of the first kind Kp for the complementary modulus of k.
*/
static void ellipicIntegralK (double k, double& K, double& Kp) noexcept;
static void ellipticIntegralK (double k, double& K, double& Kp) noexcept;
/** Computes the Jacobian elliptic function cd for the elliptic
modulus k and the quarter-period units u.