> Van: [email protected] [mailto:programming- > [email protected]] Namens Dan Bron > Onderwerp: Re: [Jprogramming] Polygon containment > (...) > > 6. The solution is a dyadic verb. > 7. Polygons are represent by Nx2 arrays of > floats. This is the LHA of the verb. > 8. Points are represented similarly as a vector > of 2 floats. The RHA of the verb is an > (arbitrary) array of points. > 9. As a consequence, the effective rank of the > verb is "2 1, though it would be nice to not > actually have to apply the verb at this rank > (for performance reasons). >
IMO the verb rank should be "_ (as any verb should have, but that is an other discussion) or actually "2, so all the points (RHA) are compared to one polygon (LHA). R.E. Boss ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
