« first day (405 days earlier)      last day (2255 days later) » 

3:56 AM
0
Q: APL Dyalog Nested Array Element Transformations

Brendan LeTourneauI've been using Dyalog APL for a class assignment and I've run across an issue in transforming each element of a nested array. I have a character array called HOLD which has a variable amount of 7 character long arrays in it. Using a split transformation I can turn it into a nested array of read...

 
 
3 hours later…
7:15 AM
@Adám How can I reduce a multidimensional list by some function? Like +/ will sum a 1d array, but I'm looking for something to sum all the elements of an array of unknown dimensions.
(Assuming ⎕ML←0, so no )
 
@Pavel Will +/⍣≡ do what you want?
 
Probably. I missed the lessons on and .
 
@Pavel Note that if the function is not scalar, you may need in front. E.g. ⊃,/⍣≡ is the same as enlist (or just ,) on simple arrays.
 
7:31 AM
I was looking at this answer and I could tell the author worked at Dyalog without looking at his profile because I didn't recognize him as a golfer and he included a link to TIO.
 
Yeah, I watched that. But that was a while ago.
 
 
4 hours later…
11:21 AM
@Feeds I've been using Dyalog APL for a class assignment
 
@Uriel When I first read that I thought it was something like var←⎕NEW SomeClass.
 
 
2 hours later…
ngn
1:06 PM
@Pavel +/,
 
 
3 hours later…
3:56 PM
Is the next APL Cultivation on Wednesday?
 
4:39 PM
@Pavel According the the schedule, yes.
 

« first day (405 days earlier)      last day (2255 days later) »