Exemple #1
0
 /// <summary>
 /// Compute the nome for parameter m, as well as <see cref="K"/>(m) and K'(m) = <see cref="K"/>(1 - m).
 /// </summary>
 public static double Nome(double m, out double K, out double Kprime)
 {
     K      = Elliptic.K(m);
     Kprime = Elliptic.K(1 - m);
     return(Math.Exp(-π * Kprime / K));
 }
Exemple #2
0
 /// <summary>
 /// Compute the nome for parameter m.
 /// </summary>
 public static double Nome(double m, out double K)
 {
     K = Elliptic.K(m);
     return(Math.Exp(-π * Elliptic.K(1 - m) / K));
 }