Re: [Jprogramming] Rank Nesting

2013-06-20 Thread Aai
Is it just me or is simplifying equivalent to taking the minimum of all nested ranks? You have to illustrate what you mean by 'minimum of all nested ranks', do you mean: "1 1"1 2 <==> "1 ? -- Met vriendelijke groet, @@i = Arie Groeneveld --

Re: [Jprogramming] Rank Nesting

2013-06-20 Thread Raul Miller
$(i.3)(+"0"0 _)i.4 3 4 simplifying by using the minimum of all nested ranks: $(i.3)(+"0)i.4 |length error -- Raul On Wed, Jun 19, 2013 at 11:46 PM, Michal D. wrote: > Yes, going about my interpreter implementation it became clear that this > was the likely implementation. I was quite s

Re: [Jprogramming] Rank Nesting

2013-06-20 Thread neitzel
Ric Sherlock wrote: > > Explicitly defined verbs and verbs that include trains have default rank of > _ _ _ , but that can be altered as part of the verb definition. Rick and everybody else still doing this: please stop this misleading wording! A verb's rank CANNOT be "altered". Its rank

Re: [Jprogramming] calling jj.dll

2013-06-20 Thread neitzel
GREG> 2)Is there a formula for header size depending on rank? RAUL> So, expressed in C, it's (7+rank)*sizeof I There may also be some padding after the s[] shape elements and before the data values following the header in order to have the data values properly aligned. (Think of "doubles" req

Re: [Jprogramming] calling jj.dll

2013-06-20 Thread Raul Miller
I do not think that you can find any examples of this. The underlying mechanism only makes sense when mixing structure elements which have different sizes. Still, if you can find any examples, it would be great to hear about them. Thanks, -- Raul On Thu, Jun 20, 2013 at 4:59 PM, wrote: > GR

Re: [Jprogramming] calling jj.dll

2013-06-20 Thread greg heil
i think i am going to have to punt on eXtended. Maybe even boxed if padding is a problem. That would be sad as i know of no other effective way for ragged arrays. greg ~krsnadas.org -- from: Raul Miller to: Programming forum date: 20 June 2013 14:20 subject: Re: [Jprogramming] calling jj.dll

Re: [Jprogramming] calling jj.dll

2013-06-20 Thread Raul Miller
Your comment makes me think that I should expand on my thinking. I was responding to neitzel's suggestion that "the offset for the first data atom might or might not require some rounding up". This is a reference to the fact that some C compilers will put a C struct in memory in an order which is

Re: [Jprogramming] calling jj.dll

2013-06-20 Thread neitzel
Hi Raul, >The underlying mechanism only makes sense when mixing structure >elements which have different sizes. I fail to understand this, probably because I lost track of the original context. (I.e., what is Greg trying to do?) >Still, if you can find any examples, it would be great to hear ab