Expand description
Implementation of ellipse shape.
Structsยง
- Ellipse
- An ellipse.
Functionsยง
- agm_
elliptic_ ๐perimeter - Calculates circumference C of an ellipse with radii (x, y) using the arithmetic-geometric mean, as described in equation 19.8.6 of https://web.archive.org/web/20240926233336/https://dlmf.nist.gov/19.8#i.
- kummer_
elliptic_ ๐perimeter - Calculates circumference C of an ellipse with radii (x, y) as the infinite series
- kummer_
elliptic_ ๐perimeter_ range - This calculates the error range of
kummer_elliptic_perimeter
. That function returns a lower bound on the true value, and though we do not know what the remainder of the infinite series sums to, we can calculate an upper bound: