Skip to content

Instantly share code, notes, and snippets.

Martin Albrecht malb

View GitHub Profile
malb /
Created May 7, 2018
Make illustrative plots for BKZ's behaviour
# -*- coding: utf-8 -*-
Illustrate behaviour of BKZ algorithm.
.. modulauthor: Martin Albrecht <>
To convert to movie, call e.g. `ffmpeg -framerate 8 -pattern_type glob -i "*.png" bkz.mkv`
malb /
Last active Mar 6, 2016
git post-commit hook for committing compiled PDFs to different branch
changed_files=$(git diff-tree --no-commit-id --name-only -r HEAD)
do_the_work_tex() {
malb /
Last active Mar 14, 2016
A simple FFT in Sage for testing
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):

Keybase proof

I hereby claim:

  • I am malb on github.
  • I am 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:

You can’t perform that action at this time.