#6183: [with patch, needs review] Quaternion algebra latexification
-------------------------+--------------------------------------------------
Reporter: robertwb | Owner: AlexGhitza
Type: enhancement | Status: assigned
Priority: minor | Milestone: sage-4.1.1
Component: algebra | Keywords: quaternion latex
Reviewer: | Author: Alex Ghitza
Merged: |
-------------------------+--------------------------------------------------
Comment(by davidloeffler):
{{{
sage: B.<i, j, k> = QuaternionAlgebra(RR, -1, -1)
sage: latex(i + 1 - k)
1.00000000000000 + i - k
}}}
With all due respect, this is hideous :-) I know you only did it for
consistency with the {{{repr}}} method, of course; but what would you say
to the suggestion that we change {{{repr}}}, and {{{latex}}}, so they
return something like {{{1.00000000000000 + 1.00000000000000*i -
1.00000000000000*k}}}? This is consistent with our conventions for other
algebras over inexact rings (e.g. polynomials and power series).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6183#comment:2>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---