#18264: make map_coefficients in modules_with_basis safer or more general
-------------------------------------+-------------------------------------
       Reporter:  mantepse           |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  minor              |    Milestone:  sage-6.7
      Component:  algebra            |   Resolution:
       Keywords:  map_coefficients,  |    Merged in:
  modules_with_basis, base_ring,     |    Reviewers:
  check arguments                    |  Work issues:
        Authors:  Martin Rubey       |       Commit:
Report Upstream:  N/A                |  3a7761e95b8ca8b83e08635828a3754d751fe918
         Branch:                     |     Stopgaps:
  u/mantepse/make_map_coefficients_in_modules_with_basis_safer_or_more_general|
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by mantepse):

 Hi there!

 I was just about to do what Nicolas suggest -- adding an optional argument
 `coerce`, but I encountered some things that make me hesitate:

 1. to be helpful for the casual user, it's default value would have to be
 `True` - differently from what we have in `_from_dict`.

 2. the docstring would then be something like

 {{{
 whether to try to coerce the result of applying `f` to the coefficient
 ring.
 }}}

     which is a bit strange, given that we require `f` to be an
 endofunction.

 If you reassure me, I'll do it.  I'm just not 100% sure myself.

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