Skip to content

Instantly share code, notes, and snippets.

View michaelosthege's full-sized avatar

Michael Osthege michaelosthege

View GitHub Profile
@michaelosthege
michaelosthege / theano_numpy_ODE.py
Last active July 6, 2017 12:18 — forked from dean-shaff/theano_numpy_diffeq.py
Theano and Numpy speed comparison for Lorenz Attractor
import theano
import theano.tensor as T
import numpy
import h5py
import os
import time
def rungekuttastep(h, y, fprime, *theta):
k1 = h*fprime(y,*theta)