Skip to content

Instantly share code, notes, and snippets.

@Stefan-Code
Last active January 5, 2016 17:39
Show Gist options
  • Save Stefan-Code/fd50a2b2782ca5d4c964 to your computer and use it in GitHub Desktop.
Save Stefan-Code/fd50a2b2782ca5d4c964 to your computer and use it in GitHub Desktop.
Sympy symbolic math boilerplate for iPython notebook
from sympy import *
from sympy.matrices import *
import seaborn as sns # seaborn for pretty graphs
import numpy as np # numpy for numerical stuff
init_session()
init_printing(use_latex='mathjax')
# now you're good to go.
#Example:
diff(2**x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment