-
Notifications
You must be signed in to change notification settings - Fork 0
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
Latex matmul #1
Latex matmul #1
Conversation
Since scalars cannot be added to Matrices, the preamble of matAdd was removed. Also, tests were added to cover all lines of matMul and matAdd and changes made accordingly.
assert l._print_MatMul(2*A) == '2 A' | ||
assert l._print_MatMul(2*x*A) == '2 x A' | ||
assert l._print_MatMul(-2*A) == '- 2 A' | ||
assert l._print_MatMul(-2*A*(A+2*B)) == '- 2 A \left(A + 2 B\right)' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests fail on this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try change the 2*B to B...does that work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's about ordering of A + 2 B versus 2 B + A. I fixed it in sympy#1166
3532: Pow.is_real fix for base = -1
Make erfc and erfi functions available to MeijerG integration code
Make erfc and erfi functions tractable for Gruntz algorithm
More review on PR 2081: Merged in to PR sympy#2081
Continued fractions for dammina
test flyback removal in Polygon"
Add carstimon to AUTHORS/aboutus. Welcome to SymPy!
Since scalars cannot be added to Matrices, the preamble of matAdd
was removed. Also, tests were added to cover all lines of matMul
and matAdd and changes made accordingly.