Skip to content

Instantly share code, notes, and snippets.

View FilipDominec's full-sized avatar
🎯
Basically always busy, that's OK

Filip Dominec FilipDominec

🎯
Basically always busy, that's OK
View GitHub Profile
@AndrewWalker
AndrewWalker / ninvlaplace.py
Last active November 30, 2018 17:37
Numerical Inverse of the Laplace Transform
# Based on "Approximate Inversion of the Laplace Transform" by Cheng and Sidauruk,
# in the Mathematica Journal, vol 4, issue 2, 1994
import scipy.misc
fact = scipy.misc.factorial
def csteh(n, i):
acc = 0.0
for k in xrange(int(np.floor((i+1)/2.0)), int(min(i, n/2.0))+1):
num = k**(n/2.0) * fact(2 * k)
@yhara
yhara / gist:1408888
Created November 30, 2011 12:22 — forked from avalanche123/gist:981817
GitHub Emoji (sort by category)
emotion :+1: :-1: :clap: :heart: :sparkles: :v: :zzz:
icon :new: :ok: :cool: :vs: :tm: :warning: :wheelchair: :zap: :art: :bomb: :bulb: :key: :lock: :memo: :mag:
item :book: :gift: :moneybag: :mega: :scissors: :hammer:
device :computer: :iphone: :calling: :email:
human :cop: :runner: :feet: :fist: :punch: :lipstick: :tophat:
food :beer: :cake: :smoking:
behicle :airplane: :bike: :bus: :ski: :taxi: :train:
animal :bear: :fish: :octocat:
nature :fire: :leaves: :star: :sunny: