#10552: Allow more elementwise simplifications for symbolic matrices
---------------------------+------------------------------------------------
Reporter: kcrisman | Owner: burcin
Type: enhancement | Status: needs_work
Priority: minor | Milestone:
Component: symbolics | Keywords: matrix symbolic simplify expand
Work_issues: | Upstream: N/A
Reviewer: | Author: Joris Vankerschaver
Merged: | Dependencies:
---------------------------+------------------------------------------------
Comment(by jvkersch):
Replying to [comment:4 kcrisman]:
> I think the difference here is that we're using Maxima to simplify the
whole matrix, instead of doing it elementwise. Maybe that would be
better, since Maxima might be faster (especially once we are using the
library interface). So the real question is whether there are any
simplifications that are better done elementwise than all at once by
Maxima.
Good point. I did some comparisons for various matrix sizes of
simplify_trig elementwise versus by passing the whole matrix to Maxima,
and it seems passing the matrix directly to maxima is about 50% faster.
For large-ish matrices (say, 10x10) this is already considerable (1 sec.
vs 450 ms. for a random matrix involving sines and cosines). I will
therefore use the matrix version wherever available.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10552#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.