[sympy] Matrice printing issues (#1676)

0 views
Skip to first unread message

Julien Rioux

unread,
Nov 27, 2012, 9:13:17 AM11/27/12
to sympy/sympy

Latex and pretty printing of Adjoint, MatAdd, MatPow, and Transpose.

Fixes issues 3485 and 3486.
http://code.google.com/p/sympy/issues/detail?id=3485
http://code.google.com/p/sympy/issues/detail?id=3486


You can merge this Pull Request by running:

  git pull https://github.com/jrioux/sympy printing

Or view, comment on, or merge it at:

  https://github.com/sympy/sympy/pull/1676

Commit Summary

  • Make Matrix sympifiable.
  • Make Transpose and Adjoint not evaluate their argument
  • Latex printing of Adjoint, MatPow, and Transpose.
  • Pretty printing of Adjoint, MatAdd, MatPow, and Transpose.

File Changes

  • M sympy/core/decorators.py (6)
  • M sympy/matrices/dense.py (7)
  • M sympy/matrices/expressions/adjoint.py (38)
  • M sympy/matrices/expressions/blockmatrix.py (22)
  • M sympy/matrices/expressions/matadd.py (11)
  • M sympy/matrices/expressions/matexpr.py (50)
  • M sympy/matrices/expressions/matmul.py (12)
  • M sympy/matrices/expressions/tests/test_adjoint.py (17)
  • M sympy/matrices/expressions/tests/test_matrix_exprs.py (29)
  • M sympy/matrices/expressions/transpose.py (36)
  • M sympy/matrices/immutable.py (17)
  • M sympy/matrices/matrices.py (11)
  • M sympy/matrices/tests/test_interactions.py (16)
  • M sympy/printing/latex.py (6)
  • M sympy/printing/pretty/pretty.py (34)
  • M sympy/printing/tests/test_latex.py (15)

Patch Links


Reply to this email directly or view it on GitHub.

Aaron Meurer

unread,
Nov 28, 2012, 2:01:15 AM11/28/12
to sympy/sympy

SymPy Bot Summary: :red_circle: Failed after merging jrioux/printing (ca2a31a) into master (6084fa8).
@jrioux: Please fix the test failures.
:red_circle:Python 2.5.0-final-0: fail
:red_circle:Python 2.6.6-final-0: fail
:red_circle:Python 2.7.2-final-0: fail
:eight_spoked_asterisk:Python 2.6.8-final-0: pass
:eight_spoked_asterisk:Python 2.7.3-final-0: pass
:eight_spoked_asterisk:PyPy 1.9.1-dev-0; 2.7.3-final-42: pass
:eight_spoked_asterisk:Python 3.2.2-final-0: pass
:eight_spoked_asterisk:Python 3.3.0-final-0: pass
:eight_spoked_asterisk:Python 3.2.3-final-0: pass
:eight_spoked_asterisk:Python 3.3.0-final-0: pass
:eight_spoked_asterisk:Python 3.3.0-final-0: pass
:eight_spoked_asterisk:**Sphinx 1.1.3:** pass

Julien Rioux

unread,
Nov 28, 2012, 11:40:05 AM11/28/12
to sympy/sympy

SymPy Bot Summary: :eight_spoked_asterisk: Passed after merging jrioux/printing (a4f2a08) into master (a0a9d55).
:eight_spoked_asterisk:PyPy 2.0.0-beta-1; 2.7.3-final-42: pass
:eight_spoked_asterisk:Python 2.7.2-final-0: pass
:eight_spoked_asterisk:Python 3.2.1-final-0: pass
:eight_spoked_asterisk:Sphinx 1.1.3: pass

Julien Rioux

unread,
Dec 7, 2012, 3:20:32 AM12/7/12
to sympy/sympy

SymPy Bot Summary: :eight_spoked_asterisk: Passed after merging jrioux/printing (b6b586b) into master (02bc3d5).


:eight_spoked_asterisk:PyPy 2.0.0-beta-1; 2.7.3-final-42: pass
:eight_spoked_asterisk:Python 2.7.2-final-0: pass
:eight_spoked_asterisk:Python 3.2.1-final-0: pass
:eight_spoked_asterisk:Sphinx 1.1.3: pass


Reply to this email directly or view it on GitHub.

Julien Rioux

unread,
Dec 11, 2012, 4:17:38 PM12/11/12
to sympy/sympy

This could be merged relatively soon after #1670 (the first commit here is from that PR).

Julien Rioux

unread,
Dec 19, 2012, 3:44:13 PM12/19/12
to sympy/sympy

SymPy Bot Summary: :eight_spoked_asterisk: Passed after merging jrioux/printing (0493bc0) into master (d503614).


:eight_spoked_asterisk:PyPy 2.0.0-beta-1; 2.7.3-final-42: pass
:eight_spoked_asterisk:Python 2.7.2-final-0: pass
:eight_spoked_asterisk:Python 3.2.1-final-0: pass
:eight_spoked_asterisk:Sphinx 1.1.3: pass

Docs build command: make clean && make html-errors && make latex && cd _build/latex && xelatex sympy-*.tex

Julien Rioux

unread,
Dec 21, 2012, 11:12:07 AM12/21/12
to sympy/sympy

SymPy Bot Summary: :eight_spoked_asterisk: Passed after merging jrioux/printing (0493bc0) into master (93b7037).


:eight_spoked_asterisk:PyPy 2.0.0-beta-1; 2.7.3-final-42: pass
:eight_spoked_asterisk:Python 2.7.2-final-0: pass
:eight_spoked_asterisk:Python 3.2.1-final-0: pass
:eight_spoked_asterisk:Sphinx 1.1.3: pass
Docs build command: make clean && make html-errors && make latex && cd _build/latex && xelatex sympy-*.tex


Reply to this email directly or view it on GitHub.

Julien Rioux

unread,
Dec 21, 2012, 4:59:20 PM12/21/12
to sympy/sympy

Merged #1676.

Reply all
Reply to author
Forward
0 new messages