Search found 17 matches
- Tue Mar 26, 2024 1:50 am
- Forum: Installation
- Topic: Version 19.0 IME squad
- Replies: 2
- Views: 13701
Version 19.0 IME squad
It seems that with the install of version 19.0, I've lost the Shift+Ctl+L input keystroke for squad. Similar keystrokes, for example Shift+Ctl+4 for grade up work fine. I can also enter squad through the language bar. Finally, since installing version 19.0, I've lost the ability to use Shift+CTL+L ...
- Thu Dec 07, 2023 7:13 pm
- Forum: APL Chat
- Topic: UNO API for LibreOffice/OpenOffice
- Replies: 1
- Views: 17040
UNO API for LibreOffice/OpenOffice
Has there been any interest in integrating Dyalog with LibreOffice/Apache OpenOffice via the UNO API as an alternative to Microsoft Office and the Windows APIs?
- Fri Dec 01, 2023 11:19 am
- Forum: Functional Programming
- Topic: Mathematica and Dyalog
- Replies: 4
- Views: 68868
Re: Mathematica and Dyalog
Please notice that Mathematica's RandomInteger[max,n] returns n number in the range 0..max, possibly with repetitions, whereas dyadic deal ( x?y ) returns a partial permutation of the array ⍳y . https://aplwiki.com/wiki/Deal . To replicate the behaviour of Mathematica's RandomInteger just apply r ...
- Fri Dec 01, 2023 11:18 am
- Forum: Functional Programming
- Topic: Mathematica and Dyalog
- Replies: 4
- Views: 68868
Re: Mathematica and Dyalog
Nice... Note that you can also write this in a couple of more direct ways :) +/100<10?200 100+.<10?200 I had stumbled on that (reversing the comparison order) earlier, but I had also just watched Marshall Lochbaum's presentation on Tacit techniques to Dyalog'19. So I was thinking about sacrificing ...
- Fri Dec 01, 2023 1:01 am
- Forum: Functional Programming
- Topic: Mathematica and Dyalog
- Replies: 4
- Views: 68868
Mathematica and Dyalog
I was experimenting with the Free Wolfram Engine today and tried the following problem: "Count the number of elements in a list of 10 random integers between 0 and 199 that are greater than 100" This worked in the free engine: Total[Boole[Map[(#>100)&,RandomInteger[200,10],1]]] A Dyalog equivalent ...
- Tue Nov 09, 2021 4:21 pm
- Forum: New to Dyalog?
- Topic: index function
- Replies: 3
- Views: 22247
Re: index function
I was scratching my head over this until I realized that by employing the intermediate variable aT you meant "extract columns repeatedly from the SAME array". a←?1000 1000⍴0 ]runtime -c 3⌷[2]a 3⌷⍤1⊢a a[;3] 3⌷⍉a 3⌷[2]a → 2.0E¯6 | 0% 3⌷⍤1⊢a → 2.0E¯6 | 0% a[;3] → 1.5E¯6 | -25% 3⌷⍉a → 2.3E¯3 | +118200% : ...
- Sat Dec 10, 2016 1:17 am
- Forum: Functional Programming
- Topic: Tacit Primes?
- Replies: 12
- Views: 107735
Re: Tacit Primes?
For me, it's functional pipelines built from a palette of small, limited scope, (Note John's muse) re-usable plug-and-play components a-la *nix shell and graphical data integration tools: From an example by PSkocik: find /usr/bin/ | #produce sed 's:.*/::' | #translate: strip directory part grep -i ...
- Thu Dec 08, 2016 2:18 pm
- Forum: Functional Programming
- Topic: Tacit Primes?
- Replies: 12
- Views: 107735
Re: Tacit Primes?
2(÷⍨)4
2
2(⊣÷⊣)4
1
2(⊢÷⊣)4
2
I see!
- Thu Dec 08, 2016 12:34 pm
- Forum: Functional Programming
- Topic: Tacit Primes?
- Replies: 12
- Views: 107735
Re: Tacit Primes?
And seemingly:
f⍨ ←→ ⊣f⊢
f⍨ ←→ ⊢f⊢
f⍨ ←→ ⊣f⊣
- Tue Dec 06, 2016 7:20 pm
- Forum: Functional Programming
- Topic: Tacit Primes?
- Replies: 12
- Views: 107735
Re: Tacit Primes?
Thanks John, I was struggling with how to get the right argument value all the way to the left of the membership function. I hadn't considered the use of the compose operator. Can we say that by using compose to glue functions together, that we are increasing the leftward "argument throw" of the ...