« first day (608 days earlier)      last day (2036 days later) » 

4:25 PM
Hey @Adám, I'm having some trouble applying functions to a . All I need to do is (basically) {⌊/≢⍵}⌸stuff, but that returns exactly the same as if I did {∊≢⍵}⌸stuff, can you shed some light here? My function is currently {{⌊/≢⍵}⌸∊⍵|r-¨⊂r←∪⍵|2*⍨⍳⍵+1}10
using ⎕IO←0 btw
⋄⎕IO←0⋄⎕←{{⌊/≢⍵}⌸∊⍵|r-¨⊂r←∪⍵|2*⍨⍳⍵+1}10
 
@J.Sallé
6 4 4 4 4 6 2 2 2 2
 
I just needed that to return 2
 
ngn
5:05 PM
@J.Sallé I'm not Adam but: it looks like you're taking the minimum (⌊/) individually for each group's count ().
 
5:18 PM
has to be ⌊/{≢⍵}⌸stuff
 
⎕←{≢⍵)}⌸ 1 2 1 2 3 1 2 3
 
@jslip
1 3
2 3
3 2
 
weird bug?
 
ngn
5:29 PM
@jslip hehe, that's a good one :) apparently idiom recognition gone wrong - it thinks it's {⍺,≢⍵}⌸
@Adám ^
 
{⊂⍵)}⌸1 1 1 4 4 seems to be running too, though the same way as without the )
 
Apparently I still can't make sense of
Thanks everyone
 
 
1 hour later…
6:59 PM
0
Q: Anylogic convert APL from Version 8.3.2 to 7.1.2

NikNetI have a Simulation running in the Version 8.3.2 of Anylogic. But now I want to change it to 7.1.2. Are there any possibilities, by changing some code in the APL manually? Thanks for any help.

 
@Feeds I think that person is very confused, since (iirc) Anylogic is coded in Java
 
@J.Sallé APL = Anylogic Pedestrian Library :|
 
ngn
after a quick search: anylogic is some kind of simulation software and .alp (not .apl) is the file extension for its xml-based project files
 

« first day (608 days earlier)      last day (2036 days later) »