The Heart of the Algorithm
summary
Shows how an APL expression computes which attendees saw at least half of each session by turning session starts/ends and join/leave pairs into two matrices then subtracting for overlap, using outer product to compare all times and the rank operator to apply durations per row. Example uses six sessions and four connections, outputs a Boolean attendance matrix per person×session, and notes a fix: sum multiple connections per person before thresholding.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:20Functions and order of operations
- 6:15Reduction operator
- 7:40Outer product operator
- 9:00Row and column sums
- 10:00Problem: Who attended online user meetings?
- 13:25Comparing session and attendance times
- 15:20Use of outer product to compare all times
- 19:22Use of rank operator to compare session durations
- 22:30The Heart of the Algorithm
- 25:48Questions
