#5381: Refactor matrix kernels
----------------------------+-----------------------------------------------
Reporter: rbeezer | Owner: rbeezer
Type: task | Status: new
Priority: minor | Milestone: sage-3.4.2
Component: linear algebra | Keywords: matrix kernel refactor
----------------------------+-----------------------------------------------
From proposal on sage-devel:
Place the guts of kernel computations for each (specialized) class into a
right_kernel() method, where it would seem to naturally belong. Mostly
these would replace kernel() methods that are computing left kernels. A
call to kernel() or left_kernel() should arrive at the top of the
hierarchy where it would take a transpose and call the (specialized)
right_kernel(). So there wouldn't be a change in behavior in routines
currently calling kernel () or left_kernel(), and we would retain Sage's
preference for the left by having the vanilla kernel() give back a left
kernel. The changes would be more efficient computationally and also make
the code more expressive of what is really happening when and where.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5381>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---