#18713: cannot feed cached function to Matrix
-------------------------------------+-------------------------------------
Reporter: rws | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.8
Component: linear algebra | Resolution:
Keywords: | Merged in:
Authors: Ralf Stephan | Reviewers: Travis Scrimshaw
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/rws/cannot_feed_cached_function_to_matrix|
34d5502150d2a5174984a277a165420f22cf7b7d
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by rws):
Replying to [comment:4 nbruin]:
> The proposed fix mends the reported problem, and no more. However,
shouldn't there be certain behaviour for the matrix constructor if it gets
passed a *callable* object? or is that too broad?
It is in that all symbolic expressions are callable, i.e., they return
itself when called with no arguments (which IMHO makes sense) and they try
substitution when given arguments (which will hopefully soon raise an
exception with #14270 but my hope is fading). So, instead of having
special cases of callables your solution needs to exclude those symbolic
expressions that are not `Function`s.
--
Ticket URL: <http://trac.sagemath.org/ticket/18713#comment:6>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.