Re: [Jprogramming] histogram from Essays

2017-06-15 Thread Raul Miller
I think the essay presumes your range was chosen to include all values in your range. Thanks, -- Raul On Thu, Jun 15, 2017 at 8:35 AM, Rudolf Sykora wrote: > On 15 June 2017 at 14:14, Brian Schott wrote: >> Rudolf, >> >> Have you seen the following comments which attempt to alter that Essay?

Re: [Jprogramming] histogram from Essays

2017-06-15 Thread Rudolf Sykora
On 15 June 2017 at 14:14, Brian Schott wrote: > Rudolf, > > Have you seen the following comments which attempt to alter that Essay? I haven't, I did not know about it. I will read it. Thanks! Anyhow, I still believe the original essay should be improved (if I am not completely wrong with my unde

Re: [Jprogramming] histogram from Essays

2017-06-15 Thread Brian Schott
Rudolf, Have you seen the following comments which attempt to alter that Essay? http://code.jsoftware.com/wiki/User:Brian_Schott/Histogram -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] histogram from Essays

2017-06-15 Thread 'Pascal Jasmin' via Programming
2 4 I. i.7 0 0 0 1 1 2 2 Interval adds an extra count for bin above the last range. still, just the count as: 2 4 #/.~@:I. i.7 3 2 2 and then with printed intervals, 2 4 ([ (] ,.~ [ {.!._~ #@]) #/.~@:I.) i.7 2 3 4 2 _ 2 2 4 9 ([ (] ,.~ [ {.!._~ #@]) #/.~@:I.) i.7 2 3 4 2 9 2 _

[Jprogramming] histogram from Essays

2017-06-15 Thread Rudolf Sykora
Hello, I found a code to produce a histogram at http://code.jsoftware.com/wiki/Essays/Histogram. However, both the description and the function seem odd. The code reads histogram=: <: @ (#/.~) @ (i.@#@[ , I.) 1) They say: ---The left argument is a list of interval *start* points.---, which I t