#13678: Allow tab completion of matrix constructor
-------------------------------------------------+--------------------------
       Reporter:  robertwb                       |         Owner:  jason, was  
           Type:  enhancement                    |        Status:  needs_review
       Priority:  major                          |     Milestone:  sage-5.5    
      Component:  linear algebra                 |    Resolution:              
       Keywords:                                 |   Work issues:              
Report Upstream:  N/A                            |     Reviewers:  Volker Braun
        Authors:  Robert Bradshaw, Volker Braun  |     Merged in:              
   Dependencies:                                 |      Stopgaps:              
-------------------------------------------------+--------------------------
Changes (by {'newvalue': u'Robert Bradshaw, Volker Braun', 'oldvalue': ''}):

  * reviewer:  => Volker Braun
  * author:  => Robert Bradshaw, Volker Braun


Old description:

> E.g. matrix.identity(...), matrix.random(...), matrix.load(...) etc. all
> discoverable by tab completion.

New description:

 E.g. matrix.identity(...), matrix.random(...), matrix.load(...) etc. all
 discoverable by tab completion.

 Apply [attachment:13678-matrix-methods_vb.patch]

--

Comment:

 Great idea to use a decorator! I've implemented the `__call__` version.
 Also, I gave the decorator an optional `name=` argument if you want to
 override the automatic name generation. But I'm happy with the matrix-
 removed names. I agree that it would be better if `matrix.foo` were then
 mentioned in the docstring of `foo_matrix`, feel free to fix this. But its
 not really necessary. I'm giving positive review to Robert's patch ;-)

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

Reply via email to