Sharedsupport / sympy printing test.ipynbOpen in CoCalc
Examples for support purposes...
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}