Search found 28 matches

by tclviii-dyalog
Wed Sep 07, 2022 4:35 pm
Forum: APL Chat
Topic: need a big pascal's table
Replies: 21
Views: 142444

Re: need a big pascal's table

just saw that pascalCD6a might be faster than pascalCD4

⎕TS ⋄ sink←pascal∆loop∆iota 10000 ⋄ ⎕TS
2022 9 7 12 32 56 50
2022 9 7 12 32 58 979
⎕TS ⋄ sink←pascalCD6a 10000 ⋄ ⎕TS
2022 9 7 12 33 21 700
2022 9 7 12 33 25 49

still pretty close
by tclviii-dyalog
Wed Sep 07, 2022 4:02 pm
Forum: APL Chat
Topic: need a big pascal's table
Replies: 21
Views: 142444

Re: need a big pascal's table

now that i have stopped herding Elsinore, New Jersey, and Canadian, ducklings, I can address this (be nicer to Karen Shaw people, i had no idea what she goes through till i was tasked with the New York meeting) first let me thank everybody for their efforts, you all went above and beyond. having ...
by tclviii-dyalog
Tue Aug 23, 2022 7:50 pm
Forum: APL Chat
Topic: need a big pascal's table
Replies: 21
Views: 142444

Re: need a big pascal's table

I couldn't help but try to fine-tune Peter's original algorithm: m←pascal3 n;r;⎕IO;⎕FR (⎕IO ⎕FR)←1 1287 m←n n⍴n↑1 :For r :In ⍳n m[r;1+⍳r-1]←⌊×\(⌽÷⊢)⍳r-1 :EndFor Benchmarking gives ]runtime "pascal2 10000" * Benchmarking "pascal2 10000" (ms) CPU (avg): 86063 Elapsed: 123997 ]runtime "pascal3 10000" * ...
by tclviii-dyalog
Tue Aug 23, 2022 7:45 pm
Forum: APL Chat
Topic: need a big pascal's table
Replies: 21
Views: 142444

Re: need a big pascal's table

If you're interested, it appears practical to calculate a 10000-row triangle in about 10 seconds in Dyalog APL using a simple convolution algorithm, as long as you have enough virtual memory. Peter, First, let me apologize for not getting back to you sooner. I spent a few days running around New ...
by tclviii-dyalog
Sun Aug 21, 2022 5:09 pm
Forum: Chat
Topic: Man City v Newcastle
Replies: 0
Views: 31691

Man City v Newcastle

His name is Trippier! What did you expect?? Should have remained a red card!
by tclviii-dyalog
Sat Aug 20, 2022 7:11 am
Forum: APL Chat
Topic: need a big pascal's table
Replies: 21
Views: 142444

Re: need a big pascal's table

Squinting at the teeny tiny type, on the teeny tiny screen, of my teeny tiny phone, in the dimly lit back seat of the teeny tiny Toyota Prius uber, on my way from one smoky jazz club to another ... All i can say is thank you, and i'll have to contemplate this when i get up at the crack of noon ...
by tclviii-dyalog
Fri Aug 19, 2022 5:06 pm
Forum: APL Chat
Topic: )save wont work, but saving via file menu does?
Replies: 1
Views: 12169

)save wont work, but saving via file menu does?

after checking that )si had no suspended functions(which shouldn't matter anyway), tried to save a new version of the workspace ... couldn't save )wsid C:\Users\tonyuser\Desktop\crroptions2.dws saved Fri Aug 19 12:57:42 2022 )save crroptions4 Can't save - file could not be created. but i could save ...
by tclviii-dyalog
Fri Aug 19, 2022 3:52 pm
Forum: APL Chat
Topic: need a big pascal's table
Replies: 21
Views: 142444

need a big pascal's table

i need a big pascal's triangle (say, 10,000 rows) tried with normal numbers ⎕FR←645 ⋄⎕ts⋄ sink←{⍉(⍳⍵)∘.!⍳⍵} 1029 ⋄ ⎕ts 2022 8 19 10 52 37 354 2022 8 19 10 52 37 571 ⎕FR←645 ⋄⎕ts⋄ sink←{⍉(⍳⍵)∘.!⍳⍵} 1030 ⋄ ⎕ts 2022 8 19 10 52 50 483 DOMAIN ERROR ⎕FR←645 ⋄ ⎕TS ⋄ sink←{⍉(⍳⍵)∘.!⍳⍵}1030 ⋄ ⎕TS bignums takes ...
by tclviii-dyalog
Fri Jul 15, 2022 3:39 pm
Forum: UNIX and Linux
Topic: Dyalog on a Chromebook
Replies: 12
Views: 81584

Re: Dyalog on a Chromebook

Some Chromebooks run low-end Intel processors, some Chromebooks run Qualcomm processors, some Chromebooks run realtek processors. Is there a preferred processor? Does using one kind of processor rather than the other make for a more seamless Unix/ride experience? I ask only because I made the ...
by tclviii-dyalog
Wed Jul 14, 2021 4:22 pm
Forum: APL Chat
Topic: ⊕ and ⊗
Replies: 2
Views: 7737

Re: ⊕ and ⊗

Isn't the overstrike of a "St Andrews cross multiply" inscribed within a circle the traditional symbol for Kronecker product, and wouldn't that be confusing if APL used it for something else?