#9370: customize printing of elements in CombinatorialFreeModules
-----------------------------+----------------------------------------------
Reporter: jhpalmieri | Owner: sage-combinat
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.6
Component: combinatorics | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Changes (by jhpalmieri):
* status: needs_work => needs_review
Comment:
Hi Nicolas,
Thanks for the feedback. I've changed the code in print_options the way
you suggested, and I shortened the docstring there. I wasn't comfortable
having the constructor call print_options, so I didn't change that.
I agree that "repr_asterisk" is a bad name, so I rethought the names. We
already had "prefix" to which I added "latex_prefix". In parallel with
this, I changed "repr_bracket" to "bracket" (to go with my addition,
"latex_bracket"). That means that there is no reason for "repr_asterisk"
to have "repr" in its name anymore. I changed that to "scalar_mult". I
think this is better:
{{{
- ``scalar_mult`` - string to use for scalar multiplication in
the print representation (optional, default "*")
}}}
What do you think?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9370#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 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.