Henry Rich wrote: > I have used interleaved binary representations to > do this. The even bits of the scalar come from > the x coordinate of the pair, and the odd bits > come from the y coordinate. > > For each direction, you have translation tables > to work on the input numbers a byte at a time, so > it's pretty fast. >
Thanks for the suggestion, Henry. I had in fact considered this, but had rejected it since it did not obviously preserve norms. Maybe I should rethink: it's probably faster than other approaches. Best wishes, John ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
