Kronecker product: Difference between revisions
Content deleted Content added
m added whitespace to the task's preamble, added "corner" glyphs to the matrices, centered one of the "times" symbol. |
m tried to center the equal signs. |
||
Line 13: | Line 13: | ||
Sample 1 (from Wikipedia): |
Sample 1 (from Wikipedia): |
||
<pre> |
<pre> |
||
┌ ┐ ┌ ┐ ┌ ┐ |
┌ ┐ ┌ ┐ ┌ ┐ |
||
│1 2│ |
│1 2│ │0 5│ │ 0 5 0 10│ |
||
│3 4│ |
│3 4│ x │6 7│ = │ 6 7 12 14│ |
||
└ ┘ └ ┘ │ 0 15 0 20│ |
└ ┘ └ ┘ │ 0 15 0 20│ |
||
│18 21 24 28│ |
│18 21 24 28│ |
||
Line 24: | Line 26: | ||
<pre> |
<pre> |
||
┌ ┐ ┌ ┐ ┌ ┐ |
┌ ┐ ┌ ┐ ┌ ┐ |
||
│0 1 0│ │1 1 1 1│ |
│0 1 0│ │1 1 1 1│ │0 0 0 0 1 1 1 1 0 0 0 0│ |
||
│1 1 1│ x │1 0 0 1│ |
│1 1 1│ x │1 0 0 1│ = │0 0 0 0 1 0 0 1 0 0 0 0│ |
||
│0 1 0│ │1 1 1 1│ │0 0 0 0 1 1 1 1 0 0 0 0│ |
│0 1 0│ │1 1 1 1│ │0 0 0 0 1 1 1 1 0 0 0 0│ |
||
└ ┘ └ ┘ │1 1 1 1 1 1 1 1 1 1 1 1│ |
└ ┘ └ ┘ │1 1 1 1 1 1 1 1 1 1 1 1│ |