#10876: Create elementary matrices
-----------------------------------+----------------------------------------
   Reporter:  rbeezer              |       Owner:  jason, was
       Type:  enhancement          |      Status:  needs_work
   Priority:  minor                |   Milestone:  sage-4.7  
  Component:  linear algebra       |    Keywords:            
     Author:  Rob Beezer           |    Upstream:  N/A       
   Reviewer:  Karl-Dieter Crisman  |      Merged:            
Work_issues:                       |  
-----------------------------------+----------------------------------------

Comment(by kcrisman):

 Replying to [comment:5 rbeezer]:
 > KDC,
 >
 > I'm thinking there is no way to have an optional ring, like so many of
 the other constructors, ''and'' consolidate all three matrices into one
 function.
 Unless you make the arguments mandatory (I guess making them keywords).
 Which, for a pedagogical function, is actually not so bad.  I think that
 would be preferable to having instructors of LA who are not so
 knowledgeable about rings, or don't want to bother students with them,
 being forced to use the ring.

 I usually like flexibility, but keeping these all in one function seems
 good, and asking for 'row1' and 'scale' seems very appropriate if you're
 learning what the elementary matrices are in the first place.  I really
 doubt any heavy user is going to be using this function instead of writing
 a small script to generate their own (possible sparse) matrices!

 Also, if you were to do this, I figure that in the case of scaling a
 single row, one could allow the keyword 'row' instead of 'rows'.  Any
 interest in also providing column elementary matrices?  I guess one could
 just multiply on the right... ;)
 > And which won't allow the same row for the "add a multiple of a row to a
 row" version.

 Haha, yes!

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