#17585: Implement coordinate_ring() for free module elements
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  defect             |       Status:  new
       Priority:  major              |    Milestone:  sage-6.5
      Component:  linear algebra     |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/ticket/17585            |  f7ef4c52a51b5c3da33b795a150476d00cbeb63a
   Dependencies:  #10513, #17578,    |     Stopgaps:
  #17561, #17583, #17584, #17587,    |
  #16399, #17602                     |
-------------------------------------+-------------------------------------
Description changed by jdemeyer:

Old description:

> See https://groups.google.com/forum/#!topic/sage-devel/7n5xtT9Dw2g
>
> We add a method `element_ring` to `FreeModule` and `FreeModuleElement`
> indicating the ring from which the entries `v[i]` come. Example:
> {{{
> sage: M = (ZZ^2) * (1/2)
> sage: v = M([0,1/2])
> sage: v.base_ring()
> Integer Ring
> sage: v.element_ring()
> Rational Field
> }}}

New description:

 See https://groups.google.com/forum/#!topic/sage-devel/7n5xtT9Dw2g

 We add a method `coordinate_ring` to `FreeModule` and `FreeModuleElement`
 indicating the ring from which the entries `v[i]` come. Example:
 {{{
 sage: M = (ZZ^2) * (1/2)
 sage: v = M([0,1/2])
 sage: v.base_ring()
 Integer Ring
 sage: v.coordinate_ring()
 Rational Field
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/17585#comment:10>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to