This file contains hidden or 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/python | |
from __future__ import division | |
import numpy as np | |
def tuple_encode(x): | |
""" | |
If x is a tuple of non-negative integers, outputs a single non-negative | |
integer which is unique for that tuple, based on Cantor's bijection | |
argument. | |
""" |
This file contains hidden or 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/python | |
''' | |
A call to this script | |
multi-bibtex [options] texfile[.aux] | |
will result in the commands | |
bibtex [options] file.aux | |
being called for every file in the folder of texfile which | |
starts with "texfile". | |
This is useful, for example, when you want to use bibtex | |
(as opposed to biber which does what we want automatically) |
NewerOlder