On 9/14/07, Dan Bron <[EMAIL PROTECTED]> wrote:
> The verb is monadic and its argument is the sides of the polygon.
> If the vertices of the polygon do not fall perfectly on hour
> marks, you may either use fractional hours or raise an error.
You mean like this?
hours=: (11|.1+i.12) {~ 12&% * i.
+/@hours 4
30
(Here, +/@hours is the verb.)
Or did you also want a graphical representation of the clock
and the polygon?
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm