On Mar 27, 2008, at 3:47 PM, John Cremona wrote:
>
> Although Justin's solution certainly works, one might consider adding
> a "real_part()" function to the quaternion class.  But it would not do
> to call the function "real_part" since of course it depends on the
> ground field (which in the example is QQ and not RR).
>
> I am CC'ing sage-devel since this might be worth a ticket, and also to
> ask for suggestions as to what the "real part" might be called in
> general.

Following John's suggestion, I've created 
<http://trac.sagemath.org/sage_trac/ticket/2712 
 > for this issue, and attached a patch.  Please check it out and add  
comments, or continue the discussion here.

Thanks,

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
If it weren't for carbon-14, I wouldn't date at all.
-----------



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to