CoCalc Shared Filessympy printing test.ipynbOpen in CoCalc with one click!
Author: William A. Stein
Views : 27
Description: Jupyter notebook sympy printing test.ipynb
In [1]:
import os from sympy import *
In [2]:
os.environ['SYMPY_DEBUG'] = 'True'
In [3]:
init_printing()
In [4]:
Matrix([1, 2])
Matrix([ [1], [2]])
In [5]:
a, b, c = symbols('a, b, c')
In [6]:
a** + b**2 - c**2
a**(b**2) - c**2
In [7]:
init_printing(use_latex='mathjax')
In [8]:
a** + b**2 - c**2
a**(b**2) - c**2