#12075: Create callable matrices in function notation
---------------------------+------------------------------------------------
   Reporter:  kcrisman     |          Owner:  burcin         
       Type:  enhancement  |         Status:  needs_work     
   Priority:  major        |      Milestone:  sage-4.8       
  Component:  symbolics    |       Keywords:  sd35.5         
Work_issues:               |       Upstream:  N/A            
   Reviewer:               |         Author:  Geoffrey Ehrman
     Merged:               |   Dependencies:                 
---------------------------+------------------------------------------------

Comment(by gbe):

 The current version is working correctly and is probably usable in most
 applications. That said, I'm leaving the status as needs works as there
 are a few more (mostly minor, I think) remaining things to do:

 Remaining issues:
  * Fix the doctests in matrix2.pyx and matrix_callable_symbolic_dense.pyx.
 I know v2 is has these two files failing doctests; it may be that other
 files are also failing as I have not yet run sage --testall.
  * Partial evaluation does not return a callable matrix. See #12302 for
 more details, as this is the exact same issue and the fix should be
 (basically) the same - a modification to _ _call_ _() so the function
 recognizes partial evaluation.

 Comments:
  * I'm leaving the definition of function() in matrix2.pyx unless someone
 with more experience withh the matrix module chimes in and says
 differently.
  * While working with this bug I unearthed bug #12302. In addition to the
 fixes probably being nearly identical, 12302 may have implications for
 this patch since
 {{{
 sage: m(x) = [[x,x],[0,x]]
 sage: type(m)
 <type
 'sage.matrix.matrix_callable_symbolic_dense.Matrix_callable_symbolic_dense'>
 sage: type(m[0])
 <class
 'sage.modules.vector_callable_symbolic_dense.Vector_callable_symbolic_dense'>
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12075#comment:12>
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.

Reply via email to