Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News Sign UpSign In
| Download

Jupyter notebook support/sympy printing test.ipynb

Views: 59
Kernel: Python 2 (SageMath)
import os from sympy import *
os.environ['SYMPY_DEBUG'] = 'True'
init_printing()
Matrix([1, 2])
[12]\left[\begin{matrix}1\\2\end{matrix}\right]
a, b, c = symbols('a, b, c')
a** + b**2 - c**2
ab2c2a^{b^{2}} - c^{2}
init_printing(use_latex='mathjax')
a** + b**2 - c**2
ab2c2a^{b^{2}} - c^{2}