Singleton with various methods to compute the perimeter of an
ellipse.
|
|
AGM(self,
a,
b,
maxit=53)
Compute the perimeter of an ellipse with semi-axes
a and b using the AGM (Arithmetic-Geometric Mean) method. |
|
|
|
|
Arc43(self,
a,
b)
Compute the perimeter (and arcs) of an ellipse with semi-axes
a and b using the 4-Arc approximation. |
|
|
|
|
E2k(self,
a,
b)
Compute the perimeter of an ellipse with semi-axes
a and b using E(k), the complete elliptic integral of
the 2nd kind. |
|
|
|
|
GK(self,
a,
b)
Compute the perimeter of an ellipse with semi-axes
a and b using the Gauss-Kummer series, and here, b / a > 0.75. |
|
|
|
|
HG(self,
a,
b,
maxit=53)
Compute the perimeter of an ellipse with semi-axes
a and b using the HG (HyperGeometric Gauss-Kummer) series. |
|
|
|
|
R2(self,
a,
b)
Compute the perimeter of an ellipse with semi-axes
a and b using Ramanujan's 2nd approximation, b / a
> 0.9. |
|
|
|
|
arc(self,
a,
b,
deg2,
deg1=0)
Compute the length of elliptic arc (deg2 -
deg1), both counter-clockwise from semi-axis
a to b of the ellipse. |
|
|
|
|
arc_(self,
a,
b,
rad2,
rad1=0)
Compute the length of elliptic arc (rad2 -
rad1), both counter-clockwise from semi-axis
a to b of the ellipse. |
|
|
|
|
e2k(self,
a,
b,
E_ab=None)
Compute the perimeter of an ellipse with semi-axes
a and b using SciPy's ellipe function or method
E_ab, otherwise None. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|