##// END OF EJS Templates
Merge pull request #1399 from asmeurer/sympyprinting...
Merge pull request #1399 from asmeurer/sympyprinting Use LaTeX to display, on output, various built-in types with the SymPy printing extension. SymPy's latex() function supports printing lists, tuples, and dicts using latex notation (it uses bmatrix, pmatrix, and Bmatrix, respectively). This provides a more unified experience with SymPy functions that return these types (such as solve()). Also display ints, longs, and floats using LaTeX, to get a more unified printing experience (so that, e.g., x/x will print the same as just 1). The string form can always be obtained by manually calling the actual print function, or 2d unicode printing using pprint(). SymPy's latex() function doesn't treat set() or frosenset() correctly presently (see http://code.google.com/p/sympy/issues /detail?id=3062), so for the present, we leave those alone.

File last commit:

r4872:34c10438
r6482:ba882bf7 merge
Show More
ipy_system_conf.py
24 lines | 533 B | text/x-python | PythonLexer
vivainio
config changes
r130 """ System wide configuration file for IPython.
This will be imported by ipython for all users.
After this ipy_user_conf.py is imported, user specific configuration
Bernardo B. Marques
remove all trailling spaces
r4872 should reside there.
vivainio
config changes
r130
"""
Brian Granger
ipapi.py => core/ipapi.py and imports updated.
r2027 from IPython.core import ipapi
ip = ipapi.get()
vivainio
config changes
r130
# add system wide configuration information, import extensions etc. here.
Bernardo B. Marques
remove all trailling spaces
r4872 # nothing here is essential
vivainio
config changes
r130
import sys
vivainio
a = !ls, a = %alias now work (captures output or gets ret val for aliases)...
r151 import ext_rescapture # var = !ls and var = %magic
vivainio
Fix %upgrade, and suggest using it.
r226 import pspersistence # %store magic
vivainio
%clear magic added. fix CachedOutput.flush to flush data properly
r242 import clearcmd # %clear
vivainio
Fix %upgrade, and suggest using it.
r226
vivainio
create app_completes, move non-core completers there, install stock completers as default, ipy_signals in sh profile
r681 import ipy_stock_completers
vivainio
added %rep, factored %hist to maghistory, added examples/extension.py template for new magics
r689
Brian Granger
history.py => core/history.py and imports updated.py
r2025 ip.load('IPython.core.history')