Singleton with various methods to compute the perimeter of an
ellipse.
|
|
AGM(self,
a,
b,
maxit=53)
Return the perimeter of an ellipse with semi-axes a and
b using the AGM (Arithmetic-Geometric Mean) method. |
|
|
|
|
Arc43(self,
a,
b)
Return the perimeter (and arcs) of an ellipse with semi-axes
a and b with the 4-Arc approximation. |
|
|
|
|
E2k(self,
a,
b)
Return the perimeter of an ellipse with semi-axes a and
b from the complete elliptic integral of the 2nd kind E(k). |
|
|
|
|
GK(self,
a,
b)
Return 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)
Return the perimeter of an ellipse with semi-axes a and
b using the HG (HyperGeometric Gauss-Kummer) series. |
|
|
|
|
R2(self,
a,
b)
Return the perimeter of an ellipse with semi-axes a and
b using Ramanujan's 2nd approximation, b / a
> 0.9. |
|
|
|
|
e2k(self,
a,
b,
E_alt=None)
Return the perimeter of an ellipse with semi-axes a and
b using SciPy's ellipe function or method
E_alt, otherwise None. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|