Skip to content

2013-8: Go Forth And Multiply

Write a dfn which produces a multiplication table.

Examples:

      (your_function) 5
1 2  3  4  5
2 4  6  8  10
3 6  9  12 15
4 8  12 16 20
5 10 15 20 25
      (your_function) 1 ⍝ should return a 1×1 matrix
1
      (your_function) 0 ⍝ should return a 0×0 matrix
your_function ←

Solutions

Video Thumbnail YouTube

Chat transcript Code on GitHub