Size: 2457
Comment: detail: show the origin
|
Size: 2477
Comment: py3 print
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
{{{ | {{{#!sagecell |
Line 70: | Line 70: |
print 'Winding number = (# of red points) - (# of green points): ', wn | print('Winding number = (# of red points) - (# of green points): {}'.format(wn)) |
Sage Interactions - Topology
goto interact main page
Winding number of a plane curve
by Pablo Angulo. Computes winding number (with respect to the origin!) as an integral, and also as a intersection number with a half line through the origin.