Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/6959ed27-accc-800e-8e87-21aa81e93c07
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=========================================================================== This shows where the curvature method shines - no trig in the inner loop! --------------------------------------------------------------------------- Ellipse: a=150, b=100 (Moderate eccentricity) --------------------------------------------------------------------------- N points Curvature Newton Speedup --------------------------------------------------------- 1000 0.210 ms 0.504 ms 2.40x Curv wins! 10000 1.222 ms 3.732 ms 3.05x Curv wins! 100000 14.496 ms 40.999 ms 2.83x Curv wins! Accuracy (max deviation from ellipse): Curvature: 4.44e-16 Newton: 4.44e-16 --------------------------------------------------------------------------- Ellipse: a=200, b=50 (High eccentricity) --------------------------------------------------------------------------- N points Curvature Newton Speedup --------------------------------------------------------- 1000 0.310 ms 0.568 ms 1.83x Curv wins! 10000 1.163 ms 3.726 ms 3.20x Curv wins! 100000 10.348 ms 41.531 ms 4.01x Curv wins! Accuracy (max deviation from ellipse): Curvature: 4.44e-16 Newton: 4.44e-16 --------------------------------------------------------------------------- Ellipse: a=100, b=10 (Extreme eccentricity) --------------------------------------------------------------------------- N points Curvature Newton Speedup --------------------------------------------------------- 1000 0.247 ms 0.605 ms 2.45x Curv wins! 10000 0.885 ms 3.692 ms 4.17x Curv wins! 100000 11.002 ms 40.572 ms 3.69x Curv wins! Accuracy (max deviation from ellipse): Curvature: 6.66e-16 Newton: 4.44e-16
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)