Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • $\begingroup$ Damn, I was about to post this myself... :D $\endgroup$ Commented Aug 14, 2012 at 10:22
  • $\begingroup$ For speed I would try: Xip1 = RotateLeft@Xi; Yip1 = RotateLeft@Yi; and Total[u (1 - v) (1 - w) - (1 - u) v w] $\endgroup$ Commented Aug 15, 2012 at 0:22
  • $\begingroup$ I'll just note that inPolyQ2 is exactly what you'll end up with if you try to vectorize Sunday's implementation of the winding number algorithm. $\endgroup$ Commented Jan 15, 2017 at 14:13