[Jprogramming] ? and ?. have different ranks
Ben Gorte - CITG
B.G.H.Gorte at tudelft.nl
Fri Jan 24 13:15:35 UTC 2014
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: programming-bounces at forums.jsoftware.com [programming-bounces at forums.jsoftware.com] on behalf of Ian Clark [earthspotty at gmail.com]
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 <schott.brian at gmail.com>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 <bbill.lam at gmail.com> wrote:
>
> > I guess this is intended, otherwise all numbers generated will be
> identical.
> >
> > 24.01.2014, в 19:06, Ian Clark <earthspotty at gmail.com> написал(а):
> >
> >> ? 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
More information about the Programming
mailing list