I think points 3 and 4 are transposed in my definition.  The sort of points
by your definition is not the sorting I envisioned as I wrote my definition
of surfaces.

   +/&.|: 1 = points
0 1 1 2 1 2 2 3

   (= /:~) +/&.|: 1 = points   NB. should be 8#1
1 1 1 0 0 1 1 1

Alas, I don't have more time at the moment to pursue corrected definitions
such that points and surfaces would match up.

--
T

On Thu, Apr 1, 2010 at 4:55 PM, Raul Miller <[email protected]> wrote:

> On Thu, Apr 1, 2010 at 3:56 PM, Tracy Harms <[email protected]> wrote:
> > Perhaps something like this?
> >
> >   ( , 7-]) |: 0, 1 2 4 +"_1 _ i.3
> > 0 1 2 4
> ...
>
> That does not look right, to me, for the set of points I had defined.
> Can you define a set of points where this works?
>
> For example:
>   0 1 2 4 { _1+2*#:i.8
> _1 _1 _1
> _1 _1  1
> _1  1 _1
>  1 _1 _1
>
> That looks like the edges at one
> corner of the cube, but does not
> look like the surface of a cube.
>
> As an aside, I did not transcribe my own code properly.
> I should have used 1 A."1
>
>   1 A."1 I. (, 1 - |.) 8&$...@#&0 1">4 2 1
> 4 5 7 6
> 2 3 7 6
> 1 3 7 5
> 0 2 6 4
> 0 1 5 4
> 0 1 3 2
>
> And, for example:
>   0 1 3 2 { _1+2*#:i.8
> _1 _1 _1
> _1 _1  1
> _1  1  1
> _1  1 _1
>
> I think that that looks like the corners
> of a surface of a cube.
>
> Your approach has promise, I just can not
> see how to make it produce the surfaces
> I need.
>
> Thanks,
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to