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
### Keybase proof | |
I hereby claim: | |
* I am lfreeman on github. | |
* I am leon01 (https://keybase.io/leon01) on keybase. | |
* I have a public key whose fingerprint is 0935 A5CA D1CB 4638 E072 2299 F3DA ADBF F077 9C46 | |
To claim this, I am signing this object: |
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
import numpy.random as nprnd | |
import time | |
def timeit(method): | |
def timed(*args, **kwargs): | |
ts = time.time() | |
result = method(*args, **kwargs) | |
te = time.time() | |
print '%s (%s) %2.2f sec' % \ |