I see...

In fact your question is why monadic ? has rank 0, instead of _ , which would 
make it like behave more like ?. concerning b. 0 . 

We agree that a rank 0 ?. wouldn't be useful:

   querydot =: (?.)"0
   querydot (10#100)
46 46 46 46 46 46 46 46 46 46
   querydot"1 (10#100)
46 46 46 46 46 46 46 46 46 46

Is your question (if it is) not the same sort of question as why +, -, * etc. 
have rank 0?
Or: what's wrong with:

   11 12 13 +"_ i.3 4
11 12 13 14
16 17 18 19
21 22 23 24

(I don't kow)

Ben
 ________________________________________
From: [email protected] 
[[email protected]] on behalf of Ian Clark 
[[email protected]]
Sent: Friday, January 24, 2014 14:18
To: Programming forum
Subject: Re: [Jprogramming] ? and ?. have different ranks

It says...
> Behaves like monadic/dyadic Roll • 
> Deal<http://www.jsoftware.com/jwiki/Vocabulary/query>(
?) except ...etc.

...It doesn't. Not with (b.0)


On Fri, Jan 24, 2014 at 1:15 PM, Ben Gorte - CITG <[email protected]>wrote:

> Looks quite right what is written there.
>
>    ?."0 (10#100)
> 46 46 46 46 46 46 46 46 46 46
>    ?. (10#100)
> 46 55 79 52 54 39 60 57 60 94
>
> illustrates that the random seed is always set to the same value (7^5)
> each time ?. is executed.
>
> Ben
> ________________________________________
> From: [email protected] [
> [email protected]] on behalf of Ian Clark [
> [email protected]]
> Sent: Friday, January 24, 2014 14:06
> To: Programming forum
> Subject: Re: [Jprogramming] ? and ?. have different ranks
>
> I'm watching what's being said on this thread, prior to rewriting:
> http://www.jsoftware.com/jwiki/Vocabulary/querydot
> Its present wording is wrong.
>
> To handle the new rank information, it will need rewriting in conventional
> format. So I have a genuine reason to know why (? b.0) and (?. b.0) are
> different. :-)
>
>
> On Fri, Jan 24, 2014 at 12:49 PM, Brian Schott <[email protected]
> >wrote:
>
> >
> >
> >
> >
> >
> >
> > Bill,
> >
> > To my surprise, you are correct, as the following examples suggest. (My
> > first reaction was that you were wrong, but that is so rare. )
> >
> >    ?."+ 3#9
> > 3 3 3
> >    ?. 3#9
> > 3 8 8
> >
> >
> > ---
> > (B=)
> >
> > On Jan 24, 2014, at 6:16 AM, bill lam <[email protected]> wrote:
> >
> > > I guess this is intended, otherwise all numbers generated will be
> > identical.
> > >
> > > 24.01.2014, в 19:06, Ian Clark <[email protected]> написал(а):
> > >
> > >>  ? b.0
> > >> 0 0 0
> > >>  ?. b.0
> > >> _ 0 0
> > >>
> > >> This puzzles me. Apart from the actual numbers they generate, why
> > shouldn't
> > >> their behaviour be identical from the user's pov?
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
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