Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrice printing issues #1676

Merged
merged 7 commits into from Dec 21, 2012
Merged

Matrice printing issues #1676

merged 7 commits into from Dec 21, 2012

Conversation

jrioux
Copy link
Member

@jrioux jrioux commented Nov 27, 2012

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

@asmeurer
Copy link
Member

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

@jrioux
Copy link
Member Author

jrioux commented Nov 28, 2012

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

@jrioux
Copy link
Member Author

jrioux commented Dec 7, 2012

SymPy Bot Summary: ✳️ Passed after merging jrioux/printing (b6b586bb039981a8e437f57f22d0fb0d333fc0d0) into master (02bc3d5).
✳️ PyPy 2.0.0-beta-1; 2.7.3-final-42: pass
✳️ Python 2.7.2-final-0: pass
✳️ Python 3.2.1-final-0: pass
✳️ Sphinx 1.1.3: pass

@jrioux
Copy link
Member Author

jrioux commented Dec 11, 2012

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

rlamy and others added 7 commits December 19, 2012 15:14
Transpose and Adjoint now only have the default constructor.
To compute adjoints and transposes, use the functions adjoint()
and transpose(), not these classes.

* Make MatrixSymbol.doit() work
* Replace Transpose/Adjoint with the functions when appropriate
* Rewrite docstrings
* Use absolute imports
Mirrors the latex printing.

Fixes issue 3486.
Before:
>>> latex(x - 1)
'x -1'

After:
>>> latex(x - 1)
'x - 1'
Can't rely on MatrixSymbol.is_Atom after f7f708e
@jrioux
Copy link
Member Author

jrioux commented Dec 19, 2012

SymPy Bot Summary: ✳️ Passed after merging jrioux/printing (0493bc0) into master (d503614).
✳️ PyPy 2.0.0-beta-1; 2.7.3-final-42: pass
✳️ Python 2.7.2-final-0: pass
✳️ Python 3.2.1-final-0: pass
✳️ Sphinx 1.1.3: pass
Docs build command: make clean && make html-errors && make latex && cd _build/latex && xelatex sympy-*.tex

@jrioux
Copy link
Member Author

jrioux commented Dec 21, 2012

SymPy Bot Summary: ✳️ Passed after merging jrioux/printing (0493bc0) into master (93b7037).
✳️ PyPy 2.0.0-beta-1; 2.7.3-final-42: pass
✳️ Python 2.7.2-final-0: pass
✳️ Python 3.2.1-final-0: pass
✳️ Sphinx 1.1.3: pass
Docs build command: make clean && make html-errors && make latex && cd _build/latex && xelatex sympy-*.tex

jrioux added a commit that referenced this pull request Dec 21, 2012
Matrice printing issues

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
@jrioux jrioux merged commit 8083428 into sympy:master Dec 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants