View bkz_plot.py
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
# -*- coding: utf-8 -*- | |
""" | |
Illustrate behaviour of BKZ algorithm. | |
.. modulauthor: Martin Albrecht <martin.albrecht@royalholloway.ac.uk> | |
To convert to movie, call e.g. `ffmpeg -framerate 8 -pattern_type glob -i "*.png" bkz.mkv` | |
""" |
View post-commit.sh
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
#!/bin/bash | |
out="$(pwd)/out/" | |
changed_files=$(git diff-tree --no-commit-id --name-only -r HEAD) | |
do_the_work_tex() { | |
( | |
dir="$1" | |
filename="$2" | |
extension="$3" |
View fft.py
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
""" | |
Simple FFT for testing | |
""" | |
from sage.all import vector, srange, copy, log, floor | |
from sage.misc.misc import cputime | |
from sage.rings.all import ZZ, next_prime, GF, PolynomialRing | |
def fft2(f, w, n): | |
"""FFT |
View keybase.md
Keybase proof
I hereby claim:
- I am malb on github.
- I am martinralbrecht (https://keybase.io/martinralbrecht) on keybase.
- I have a public key whose fingerprint is 40BC 7F0D 724B 4AB1 CC98 4014 A040 043C 6532 AFB4
To claim this, I am signing this object: