Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2011-03-15 14:48:12
Size: 2457
Editor: pang
Comment: detail: show the origin
Revision 4 as of 2019-04-06 06:34:14
Size: 2477
Editor: chapoton
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.

winding.png

interact/topology (last edited 2020-06-01 18:42:11 by kcrisman)