You lost me at the third step.  Here's what I get:

   ] a =: 1;''
+-++
|1||
+-++
   #a
2
   #,a
2



On Sat, Mar 20, 2010 at 12:06 AM, David Ward Lambert <[email protected]
> wrote:

> 0 : 0
>  This post was originally entitled "raze curiosity".
>  It is not raze's fault.
>  Because map represents a boxed box as an empty box
>  and raze discards an empty box, we cannot reconstruct
>  a boxed structure using the paths to the leaves.
>
>  Why is {:: a: not
>  +---+
>  |+-+|
>  ||0||
>  |+-+|
>  +---+
> )
>
>
>   ] a =: 1;''
> +-++
> |1||
> +-++
>   #a
> 2
>   #;a
> 1
>   s
> +-+---+
> |a|+-+|
> | ||b||
> | |+-+|
> +-+---+
>   s ,&< S: 0 1 {:: s
> +-+----+
> |a|+-+ |
> | ||0| |
> | |+-+ |
> +-+----+
> |b|+-++|
> | ||1|||
> | |+-++|
> +-+----+
>
>
>   NB. Paths to the leaves
>
>   s (; <@;) S: 0 1 {:: s  NB. Info lost, cannot reconstruct s.
> +-+-+
> |a|0|
> +-+-+
> |b|1|
> +-+-+
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to