Skip to content

Instantly share code, notes, and snippets.

@cberzan
cberzan / linear_algebra_game.py
Created May 18, 2018 04:39
linear_algebra_game.py
# Supporting code for this blog article:
# https://thirld.com/blog/2018/05/17/linear-algebra-solves-a-childhood-mystery/
#
# License: public domain.
import itertools
import numpy as np
def pretty_print_matrix(name, M):