Skip to content

Instantly share code, notes, and snippets.

@qnighy
qnighy / Makefile
Created July 1, 2015 09:06
Gauss-Bareissによる整数行列の行列式
#!/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)
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
from matplotlib import animation as ani
plt.figure(figsize=(8,8))
n=20