Re: [Jprogramming] J and data structures

2019-11-16 Thread Raul Miller
Arrays are roughly analogous to computer memory. Put different: I think you are asking the wrong question. (Partially: it's worth thinking about why you pick whichever data structures...) ((It can also sometimes be useful to look on rosettacode for examples of various daya structure handling mec

Re: [Jprogramming] J and data structures

2019-11-16 Thread bill lam
Of course, use array for everything. * if all you have is a hammer, everything looks like a nail eg. https://code.jsoftware.com/wiki/Essays/Tree_Sum Sat, 16 Nov 2019, Jimmy Gauvin написал(а): > Hi, > > when dealing with data structures other than arrays such as trees, graphs, > stacks, linked l

[Jprogramming] J and data structures

2019-11-16 Thread Jimmy Gauvin
Hi, when dealing with data structures other than arrays such as trees, graphs, stacks, linked lists what other programming language do you resort to ? Or do stick with J for all endeavours? Jimmy -- For information about J foru

Re: [Jprogramming] 00 strange?

2019-11-16 Thread Jimmy Gauvin
Older J doesn't exhibit the problem : XX Shearing (<0 0)}&(4 4$1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1) JVERSION Engine: j807/j64/windows Release-c: commercial/2019-02-24T11:18:30 Library: 8.07.22 Qt IDE: 1.7.9s/5.9.7 Platform: Win 64 Installer: J807 install InstallPath: c:/program files/j64-807

Re: [Jprogramming] 00 strange?

2019-11-16 Thread Raul Miller
I wonder what promoted the booleans 0s in XX=: <0 0 to the integer zeros that we see in the definition of Shearing? This doesn't happen for me on JVERSION Engine: j901/j64avx2/darwin Beta-p: commercial/2019-11-06T09:55:37 Library: 9.01.13 Qt IDE: 1.8.4/5.12.5 Platform: Darwin 64 Installer: J9