[Newbies] closed and open interval

Cédrick Béler cdrick65 at gmail.com
Mon Nov 24 17:53:13 UTC 2008


>
> (0 to: 1) by: 0.25   equivalent to:   # (    [0  0,25[  [0  0,5[   [0
> 0,75[     [0  1]    )
>

Of course, I meant:

(0 to: 1) by 0.25  "-->  #(  [0  0,25[  [0,25  0,5[   [0,5 0,75[
[0,75  1]    )  "    " an array of interval, ie. a discretized
interval"
(0 to: 1) leftOpen by: 0.25  "-->  #(  ]0  0,25[  [0,25  0,5[   [0,5
0,75[   [0,75  1]    )  "

((0 to: 1) by 0.25) beClosedAtFirstEnd  "-->  #(  [0  0,25]  ]0,25
0,5]   ]0,5 0,75]   ]0,75  1]    )  "  beClosedAtFirstEnd is not nice
but you see what I meant ;) )

Cédrick


More information about the Beginners mailing list