#8800: Doctest coverage of categories
--------------------------+-------------------------------------------------
   Reporter:  SimonKing   |       Owner:  Simon King         
       Type:  defect      |      Status:  new                
   Priority:  major       |   Milestone:  sage-4.4.2         
  Component:  categories  |    Keywords:  categories doctests
     Author:  Simon King  |    Upstream:  N/A                
   Reviewer:              |      Merged:                     
Work_issues:              |  
--------------------------+-------------------------------------------------

Comment(by SimonKing):

 Another bug that I plan to remove:
 {{{
 sage: F = MatrixSpace(ZZ,2,3).construction()[0]
 sage: F(RR) in F.codomain()
 False
 }}}

 The problem is that the codomain of ``F`` is supposed to be the category
 of rings, even for non-square matrices. I'll change it to the following:
 {{{
 sage: MatrixSpace(ZZ,2,3).construction()[0].codomain()
 Category of commutative additive groups
 sage: MatrixSpace(ZZ,2,2).construction()[0].codomain()
 Category of rings
 }}}

 I'd actually like to have the category of modules (rather than of additive
 groups), but this would require a ring over which the module is defined
 (and which the functor obviously can't know).

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