Skip to content

Instantly share code, notes, and snippets.

@JossWhittle
Created August 10, 2012 16:50
Show Gist options
  • Save JossWhittle/3315527 to your computer and use it in GitHub Desktop.
Save JossWhittle/3315527 to your computer and use it in GitHub Desktop.
That is to say the result of a 2x3 and 3x2 matrix will be a 3x3 matrix.
[3 5] [4 2 0] [17 36 40]
[6 1] * [1 6 8] = [25 18 8]
[1 3] [7 20 24]
However:
[4 2 0] [3 5] [24 22]
[1 6 8] * [6 1] = [47 35]
[1 3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment