#12162: simplify_full for matrix
-------------------------------------+-------------------------------------
       Reporter:  Shashank           |        Owner:  jason, was
           Type:  enhancement        |       Status:  positive_review
       Priority:  trivial            |    Milestone:  sage-6.4
      Component:  linear algebra     |   Resolution:
       Keywords:  simplify_full      |    Merged in:
  matrix                             |    Reviewers:  Karl-Dieter Crisman,
        Authors:  Shashank Shalgar,  |  Vincent Delecroix
  Michael Orlitzky                   |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  4040117e8d920d235e6b02ca4c38bfd1f5da9880
  u/mjo/ticket/12162                 |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Replying to [comment:15 mjo]:
 > I went with `matrix_space()` because I've never really known what
 `parent()` is supposed to do. But I guess it's safe since everywhere else
 in the class, "parent" means "immediate parent matrix space." I also
 changed the implementation to use a list comprehension (no reason, my
 personal taste has changed).

 Most objects have a parent. That is the set in which they belong:
 {{{
 sage: 1.parent()
 Integer Ring
 sage: Permutation([3,2,1]).parent()
 Standard permutations
 sage: (1.3).parent()
 Real Field with 53 bits of precision
 }}}
 This is coded at very low level (namely `sage.structure.element`), and
 hence very fast. From the parent, you should be able to build new element
 of the same set.

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