This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/make -f | |
CXX = g++ | |
CXXFLAGS = -std=c++11 -O2 -Wall -Wextra -g | |
CPPFLAGS = -I /usr/include/eigen3/ | |
LDLIBS = -lm -lgmpxx -lgmp | |
EXECS = gb lu lu-double | |
all: $(EXECS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%matplotlib inline | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from matplotlib import animation as ani | |
plt.figure(figsize=(8,8)) | |
n=20 |