3095407370994948471047240243834227380014128274671274236806547771606007902171637453088x
A. i.64
On Thu, Jul 29, 2021 at 10:07 PM Elijah Stone wrote:
> Generate the following permutation of i.64:
>
> 0 1 8 9 2 3 10 11 16 17 24 25 18 19 26 27 4 5 12 13 6 7 14 15 20 21 28 29
> 22 23 30 31 32 33 40 4
Nice puzzle Elijah,
, 0 3 1 4 2 5 |: i.2 2 2 2 2 2
0 1 8 9 2 3 10 11 16 17 24 25 18 19 26 27 4 5 12 13 6 7 14 15 20 21 28 29 22 23
30 31 32 33 40 41 34 35 42 43 48 49 56 57 50 51 58 59 36 37 44 45 38 39 46 47
52 53 60 61 54 55 62 63
Cheers, bob
> On Jul 29, 2021, at 19:07, Elijah Stone wro
Uff...
qt =: {{if. 1=#y do.y else. qt"2 (,:~-:$y) [ ;. _3 y end.}}
, qt i.8 8
0 1 8 9 2 3 10 11 16 17 24 25 18 19 26 27 4 5 12 13 6 7 14 15 20 21 28 29
22 23 30 31 32 33 40 41 34 35 42 43 48 49 56 57 50 51 58 59 36 37 44 45 38
39 46 47 52 53 60 61 54 55 62 63
On Fri, 30 Jul 2021 at 14:24, Be
> Yeah! That is very closely related to what I'm currently doing
... and yet I give the wrong answer :-(
Shame on me
Ben
On Fri, 30 Jul 2021 at 12:50, Ben Gorte wrote:
> Yeah! That is very closely related to what I'm currently doing (in fact
> quite a while already). Quadtrees and octrees
>
>
Yeah! That is very closely related to what I'm currently doing (in fact
quite a while already). Quadtrees and octrees
v
v
v
v
, (2 2$2) ] ;. _3 i.8 8
On Fri, 30 Jul 2021 at 12:07, Elijah Stone wrote:
> Generate the following permutation of i.64:
>
> 0 1 8 9 2 3 10 1
Generate the following permutation of i.64:
0 1 8 9 2 3 10 11 16 17 24 25 18 19 26 27 4 5 12 13 6 7 14 15 20 21 28 29 22 23
30 31 32 33 40 41 34 35 42 43 48 49 56 57 50 51 58 59 36 37 44 45 38 39 46 47
52 53 60 61 54 55 62 63
-
Thanks Elijah and Clifford, for pointing me to the correct docs for <.@:%
and <.!.0 .
I suppose z <.@:% 32 is the way to do it, but (x:z)%32 and z%32x also work.
Also the following surprised me at first, but makes sense now:
<. 8796093022248.562
8796093022249
Greetings,
Ben
On Thu, 29 Jul 20
Raul - Many thanks for the insight; this gives me an idea what the
gurus are talking about!
It works.
Cheers,
Mike
On 29/07/2021 22:50, Raul Miller wrote:
To make a profile for the current version of windows terminal:
(1) Start Windows Terminal
(2) In the title bar, to the immediate right of
To make a profile for the current version of windows terminal:
(1) Start Windows Terminal
(2) In the title bar, to the immediate right of the + which will let
you add a new tab is a faint grey V like icon which will give you a
dropdown menu. From that dropdown, select Settings.
(3) On the left sid
I agree, but don't see how to do it.
What I had in mind is creating another J-shortcut, or a batch file, on
the Windows desktop similar to
the existing one for Jconsole, the only difference being that it would
open J-console under
WindowsTerminal rather than the normal terminal window. But I
I think that comparison tolerance is the surprise.
z =: 281474976711954
datatype z
integer
datatype z%32
floating
((z%32)-<.z%32)%z%32
_4.9738e_14
9!:18 '' NB. comparison tolerance
5.68434e_14
<.!.0 z%32
8796093022248
<.(x: z)%32
8796093022248
<.!.0 or <.@:% "work" but only kick the
On Thu, 29 Jul 2021, Ben Gorte wrote:
After
z =: 281474976711954
compare
<.z%32
8796093022249
and
z <.@:% 32
8796093022248
<.@:% is recognised as a special combination, see the wiki page:
https://code.jsoftware.com/wiki/Vocabulary/SpecialCombinations#Integer_Operations
I am not sure wh
12 matches
Mail list logo